c-thiel opened a new issue, #37227: URL: https://github.com/apache/airflow/issues/37227
### Apache Airflow version 2.8.1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? This is related to https://github.com/apache/airflow/issues/36432 which is not fixed fully in 2.8.1 When using a custom security manager that does not inherit also from `airflow.www.security.AirflowSecurityManager`, the webserver fails with: Exception: Your CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride, not FAB's own security manager. This is also described as an amendmend to the old issue: https://github.com/apache/airflow/issues/36432#issuecomment-1921340775 ### What you think should happen instead? _No response_ ### How to reproduce Follow the [documentation](https://airflow.apache.org/docs/apache-airflow/stable/security/webserver.html#example-using-team-based-authorization-with-github-oauth) and extend the FabAirflowSecurityManagerOverride class. See it fail. ### Operating System linux ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### 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]
