You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "c-thiel (via GitHub)" <gi...@apache.org> on 2024/02/07 15:59:06 UTC

[I] CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride not FAB's own security manager [airflow]

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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride not FAB's own security manager [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #37227:
URL: https://github.com/apache/airflow/issues/37227#issuecomment-1932825477

   Duplicate of #https://github.com/apache/airflow/issues/36342 - will be fixed in upcoming 2.8.2


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride not FAB's own security manager [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #37227: CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride not FAB's own security manager
URL: https://github.com/apache/airflow/issues/37227


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org