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

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   logout endpoint was made a POST endpoint in 
https://github.com/apache/airflow/pull/40145 . With this change the /logout 
link in error page when there are no roles and permissions is still a GET 
request causing the request to be invalid. 
   
   
https://github.com/apache/airflow/blob/75fb7acbaca09a040067f0a5a37637ff44eb9e14/airflow/www/templates/airflow/no_roles_permissions.html#L32-L34
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   1. Initialize a new database.
   2. Create an admin user.
   3. Login as the user without roles and permission to get to the error page.
   4. Click on logout link.
   
   ### Operating System
   
   Ubuntu
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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: [email protected]

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

Reply via email to