vincbeck commented on code in PR #54926:
URL: https://github.com/apache/airflow/pull/54926#discussion_r2316300220


##########
airflow-core/src/airflow/security/permissions.py:
##########
@@ -41,7 +41,6 @@
 RESOURCE_DAG_DEPENDENCIES = "DAG Dependencies"
 RESOURCE_DAG_PREFIX = "DAG:"
 RESOURCE_DAG_RUN = "DAG Runs"
-RESOURCE_DAG_RUN_PREFIX = "DAG Run:"

Review Comment:
   I think it is a breaking change because if today a user has `DAG Run:test` 
in his permissions without having `DAG:test` and `RESOURCE_DAG_RUN`, they will 
lose access. On the other side, this is very broken. It is a duplicated way of 
assigning permissions. But thinking about it, I think you are right, we should 
keep handling it but we should definitely not document about it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to