Abhishekchechani commented on issue #3015: [AIRFLOW-85] Convert Airflow 
Webserver UI to FAB for RBAC support
URL: https://github.com/apache/airflow/pull/3015#issuecomment-612167128
 
 
   I have enabled Airflow with LDAP credentials with FAB. But the problem is 
that all the users have the Admin role after self registration, because we have 
given the below value in webserver_config.py file AUTH_USER_REGISTRATION_ROLE = 
“Admin”.
   
   How can we dynamically assign the AUTH_USER_REGISTRATION_ROLE based on the 
users LDAP role? We have different users like tester, developer and operation 
user but with the above webserver config file all users are automatically 
assigned the Admin role via Flask_appbuilder.security under manager.py file.
   
   Is there any way to create the customize manager file and while login refer 
this customize file instead of Flask_appbuilder.security.manager.py file.
   
   Because I can not change directly in flask_appbuilder.security manager.py 
file and add the our customize role and assign in AUTH_USER_REGISTRATION_ROLE 
based on the users LDAP role

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

Reply via email to