kolfild26 opened a new issue, #60972:
URL: https://github.com/apache/airflow/issues/60972

   ### Apache Airflow version
   
   3.1.6
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Upgrade from 3.1.5 to 3.1.6 leads to Access denied on Security section 
(Users, Roles, etc.)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   I am using LDAP, after upgrade from 3.1.5 to 3.1.6 all Admin users are not 
able to open a security pages (users, roles, etc.).
   In logs:
   ```
   Access is Denied for: can_read on: CustomUserLDAPModelView
   [warning  ] Access is Denied for: can_read on: CustomUserLDAPModelView 
[flask_appbuilder.security.decorators] loc=decorators.py:153
   ```
   
   - It worked in v3.1.5
   - LDAP users 100% have [Admin] role, I can check this via CLI. I also added 
[Viewer] role just in case but with no success
   - I tried to create a database from scratch, same result.
   
   
   ### Operating System
   
   OEL9
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### 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)
   


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