ashb commented on a change in pull request #5812: [AIRFLOW-4449] updated
default permission for custom roles to 'Viewer'
URL: https://github.com/apache/airflow/pull/5812#discussion_r350318484
##########
File path: airflow/www/security.py
##########
@@ -416,7 +416,7 @@ def merge_pv(perm, view_menu):
# for all the dag-level role, add the permission of viewer
# with the dag view to ab_permission_view
all_roles = self.get_all_roles()
- user_role = self.find_role('User')
+ viewer_role = self.find_role('Viewer')
Review comment:
Please make the "default" role a config option under the `webserver` section.
----------------------------------------------------------------
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]
With regards,
Apache Git Services