csp33 commented on issue #39204:
URL: https://github.com/apache/airflow/issues/39204#issuecomment-2074801652

   Now the Pools option always appear, but the Variables, connections, etc. are 
the ones that randomly show when I refresh the page 😮 
   
![image](https://github.com/apache/airflow/assets/28935464/9e95673b-0cd6-4e70-a358-bb35d4b7455d)
   
![image](https://github.com/apache/airflow/assets/28935464/21947111-139f-41b7-b60f-a1aae657c1d4)
   
   
   I have 2 webservers and in both I'm recognised as an Admin. The output is 
the same when I can see the options and when I can't.
   
   
![image](https://github.com/apache/airflow/assets/28935464/341c065c-fd45-46f9-9b41-12f73dcb8fc6)
   
![image](https://github.com/apache/airflow/assets/28935464/31e429ec-7e13-4afe-9b60-26d3164ee460)
   
   
   In the profile page I can confirm that I'm logged in as admin
   
![image](https://github.com/apache/airflow/assets/28935464/ea002171-3eab-49d3-8ca9-c582bf90ce18)
   
![image](https://github.com/apache/airflow/assets/28935464/1027426a-6cf5-4c8b-86a3-3b61e8d42854)
   
   
   > How did you make your user "Admin" after it's been registered as user?
   
   I can't remember right now. Maybe I used the CLI to perform `airflow users 
add-role`. After that, all the roles have been granted from the `List Users` 
page.
   
   > Do you have more than one webserver instances running? Are you sure they 
are all restarted/upgraded to 2.9.0?
   
   All of them are fresh pods using 2.9.0 image.
   
   > Can you see (at least few times while you are seeing missing Admin menus) 
what are the users and their roles using airflow users list command (see below) 
- does it change?
   
   Command output is the same (see above)
   
   > Is it possible that you have AUTH_SYNC_ROLES_AT_LOGIN = True set in all or 
some of your webservers ?
   
   No, that is not set anywhere
   
   > Is it possible that you have two users created with different usernames 
like this ?
   
   Checked it and that doesn't happen
   
   Thanks for the help! 


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