xpyct600 commented on issue #8179: Airflow LDAP authentication with RBAC features URL: https://github.com/apache/airflow/issues/8179#issuecomment-612261854 Hi, @Abhishekchechani Yep, you can use script https://github.com/xpyct600/fab_ldap_sync for this. Add all necessary LDAP groups and airflow roles to ldap_sync.yaml: ``` group_role_map: '<ldap_group>': '<airflow_role>' ``` Disable AUTH_USER_REGISTRATION in webserver_config.py: `AUTH_USER_REGISTRATION = False` When the script ldap_sync.py starts, it will add all users from groups listen in file ldap_sync.yaml to airflow. Then it will map them necessary roles. If you delete user from LDAP or modify user's groups, just run script again to update airflow users. Write me if you have questions [email protected]
---------------------------------------------------------------- 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
