jedcunningham commented on a change in pull request #15464:
URL: https://github.com/apache/airflow/pull/15464#discussion_r617923512



##########
File path: airflow/security/permissions.py
##########
@@ -59,3 +59,15 @@
 ACTION_CAN_ACCESS_MENU = "menu_access"
 DEPRECATED_ACTION_CAN_DAG_READ = "can_dag_read"
 DEPRECATED_ACTION_CAN_DAG_EDIT = "can_dag_edit"
+
+DAG_PERMS = {ACTION_CAN_READ, ACTION_CAN_EDIT}
+
+
+def prefixed_dag_id(dag_id):

Review comment:
       I went back and forth on renaming it since it is being moved from 
`www/security`, but I'm also happy with a more descriptive name. Related, 
should we follow up later with deprecating the method in `www/security`?




-- 
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.

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


Reply via email to