feng-tao commented on a change in pull request #4973: [AIRFLOW-4155] Allow
Public role access to /home
URL: https://github.com/apache/airflow/pull/4973#discussion_r268853058
##########
File path: airflow/www/security.py
##########
@@ -155,6 +154,11 @@ class AirflowSecurityManager(SecurityManager,
LoggingMixin):
###########################################################################
ROLE_CONFIGS = [
+ {
+ 'role': 'Public',
+ 'perms': {'can_index'},
Review comment:
another way to do is to move the public role here and keep the perms / vms
empty, but override the perms / vm in custom security manager.
cc @astahlman @ashb WDYT?
----------------------------------------------------------------
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