You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "maiconkkl (via GitHub)" <gi...@apache.org> on 2023/12/26 06:44:54 UTC

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

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

   ### Apache Airflow version
   
   2.8.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   current
   
   ### What happened?
   
   When trying to implement custom authentication I am receiving this warning, I believe that line 342 should not have that "not"
   
   ### What you think should happen instead?
   
   By extending the class, the authentication system should work
   
   ### How to reproduce
   
   just create a class that extends FabAirflowSecurityManageOverride as shown in https://airflow.apache.org/docs/apache-airflow/stable/security/webserver.html#web-authentication
   
   ### Operating System
   
   ubuntu
   
   ### Versions of Apache Airflow Providers
   
   2.8.0 celery
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   No deploy.
   
   ### Anything else?
   
   no....
   
   ### Are you willing to submit PR?
   
   - [X] 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] Your CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride, not FAB's own security manager. [airflow]

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

   I also received this error in Airflow 2.8.1, when I went to configure authentication through some provider.
   The [documentation](https://airflow.apache.org/docs/apache-airflow/stable/security/webserver.html#example-using-team-based-authorization-with-github-oauth) says to extend the FabAirflowSecurityManagerOverride class.
   
   But when I do this, it generates this exception because the custom class does not extend AirflowSecurityManager
   ![image](https://github.com/apache/airflow/assets/89137830/88416940-a52b-4846-b522-45992e9509df)
   Directory of the print above: "./python3.10/site-packages/airflow/auth/managers/fab/fab_auth_manager.py"
   
   A provisional solution (I believe) was to extend both.
   


-- 
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] Your CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride, not FAB's own security manager. [airflow]

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


-- 
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] Your CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride, not FAB's own security manager. [airflow]

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

   Fixed in #36538


-- 
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] Your CUSTOM_SECURITY_MANAGER must extend FabAirflowSecurityManagerOverride, not FAB's own security manager. [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #36432:
URL: https://github.com/apache/airflow/issues/36432#issuecomment-1869304416

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


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