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

   ### Apache Airflow version
   
   3.1.6
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When a user attempts to pause or unpause a dag but lacks the dag level 
permission s for the operation the ui does not display an error message despite 
receiving a 403 request from he server.
   
   ### What you think should happen instead?
   
   A modal should pop up displaying a 403 error.
   
   ### How to reproduce
   
   Create a minimally permissioned user that has access to view a dag but not 
dag.can_edit. Open the ui and click the pause/unpause toggle and notice the 
toggle does not change and no error pops up.
   
   ### Operating System
   
   .
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### 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