jhtimmins commented on a change in pull request #11362:
URL: https://github.com/apache/airflow/pull/11362#discussion_r509295323
##########
File path: airflow/www/views.py
##########
@@ -2108,8 +2237,10 @@ def landing_times(self, session=None):
)
@expose('/paused', methods=['POST'])
- @has_dag_access(can_dag_edit=True)
- @has_access
+ @auth.has_access([
+ (permissions.ACTION_CAN_EDIT, permissions.RESOURCE_DAGS),
Review comment:
I think that's easy-ish to add later on, or at the point that
granularity it needed. If we need it now, can add it though.
----------------------------------------------------------------
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]