jason810496 commented on PR #51511:
URL: https://github.com/apache/airflow/pull/51511#issuecomment-3030607803

   > Hi @jason810496 , I am wondering if you know how to enable FabAuthManager 
in the breeze environment. I found the test 
`test_sync_perms_syncs_dag_specific_perms_on_update` is skipped because the 
`auth_manager` is set to `SimpleAuthManager` while running the test. I tried to 
include an environment variable into 
`files/airflow-breeze-config/environment_variables.env`, but it didn't work 
out. Also, I tried to run `breeze start-airflow --auth-manager FabAuthManager`. 
However, in the breeze environment, Airflow DAGs and `airflow config get-value 
core auth_manager` return the Fab auth manager, but in the test, the auth 
manager is still SimpleAuthManager when I log it in other test that doesn't 
have the skip condition. Thanks.
   > 
   > ![Screenshot from 2025-07-03 
00-07-10](https://private-user-images.githubusercontent.com/85313829/461836010-a3407909-7717-4c1c-bd47-575e3af03a4c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTE1MTYzMjAsIm5iZiI6MTc1MTUxNjAyMCwicGF0aCI6Ii84NTMxMzgyOS80NjE4MzYwMTAtYTM0MDc5MDktNzcxNy00YzFjLWJkNDctNTc1ZTNhZjAzYTRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNzAzVDA0MTM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExMGEyODM3YTExNDVmNmNlYTIzZTNiZDMzYTI3MGIwZjRiOTA0MWZkYWU0NThlMmVlZWM0MzBjYzRiNTI5M2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RGMwDSDGoGTD_BATXzamYL_kIB6Bt1mfEKyK_Xkiicc)
   
   How about configure auth manager as FABAuthManager in 
`files/airflow-breeze-config/environment_variables.env` ?
   
   
https://github.com/apache/airflow/blob/e2be640cd6b5c2d2df848aa15b7290fa2e7b96c8/dev/breeze/doc/02_customizing.rst#L29-L33


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