jakubgs commented on issue #14829:
URL: https://github.com/apache/airflow/issues/14829#issuecomment-800161963


   Oh, I think it happens because the user exists, but it was given the 
`Public` role that has no permissions:
   
https://github.com/apache/airflow/blob/b40beb3036b8221053fdb7ab537a45afccf0bd8e/airflow/www/views.py#L453-L458
   So it's logged in, but when it hits `/home` it lacks `ACTION_CAN_READ` and 
`RESOURCE_WEBSITE`, so it gets redirected to `/login`, but it's already logged 
in, so gets redirected back to `/home`, and so on.
   
   Not a great user experience.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to