arjav1528 commented on issue #60972:
URL: https://github.com/apache/airflow/issues/60972#issuecomment-3802016160

   > Interesting, I cannot reproduce it locally against main. I am using 
`AUTH_DB`.
   
   @vincbeck I just tested this on the main repo, I found out that the issue 
doesnt exists, so may be mistakenly I reproduced the issue :) (might be a setup 
mistake)
   but anyways the issue can be scenario dependent and and occur in cases like 
calling sync_roles() directly before views are registered or by switching auth 
types etc.
   
   the PR which I raised still adds a value as it makes the permission system 
more robust against these cases


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