shivkumar-topgolf commented on issue #18545:
URL: https://github.com/apache/airflow/issues/18545#issuecomment-1031165638


   > ### Discussed in #18290
   > Originally posted by **pawsok** September 16, 2021
   > 
   > ### Apache Airflow version
   > 2.1.4 (latest released)
   > 
   > ### Operating System
   > Amazon Linux AMI 2018.03
   > 
   > ### Versions of Apache Airflow Providers
   > _No response_
   > 
   > ### Deployment
   > Other Docker-based deployment
   > 
   > ### Deployment details
   > * AWS ECS EC2 mode
   > * RDS PostgreSQL for DB
   > * LDAP authentication enabled
   > 
   > ### What happened
   > We upgraded Airflow from 2.0.1 to 2.1.3 and now when i log into Airflow 
(Admin role) using LDAP authentication and go to Security --> List Users i 
cannot see **add button** ("plus").
   > 
   > **Airflow 2.0.1** (our current version):
   > 
   > 
![image](https://user-images.githubusercontent.com/90831710/133586254-24e22cd6-7e02-4800-b90f-d6f575ba2826.png)
   > 
   > **Airflow 2.1.3:**
   > 
   > 
![image](https://user-images.githubusercontent.com/90831710/133586024-48952298-a906-4189-abe1-bd88d96518bc.png)
   > 
   > ### What you expected to happen
   > Option to add a new user (using LDAP auth).
   > 
   > ### How to reproduce
   > 1. Upgrade to Airflow 2.1.3
   > 2. Log in to Airflow as LDAP user type
   > 3. Go to Security --> List Users
   > 
   > ### Anything else
   > _No response_
   > 
   > ### Are you willing to submit PR?
   > * [ ]  Yes I am willing to submit a PR!
   > 
   > ### Code of Conduct
   > * [x]  I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   
   When you login with LDAP Authentication, your role depends on the settings 
in config file (webserver_config.py). Check what role is set there for users, 
in your case it should be viewer. And you may try changing it to Admin if you 
have access to the config files. We can discuss more in case it doesn't solve 
your issue.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to