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

   ### Apache Airflow version
   
   Other Airflow 2/3 version (please specify below)
   
   ### If "Other Airflow 2/3 version" selected, which one?
   
   3.1.0
   
   ### What happened?
   
   My user has no permission to trigger DAGs (i.e. no permission to create DAG 
runs).
   
   However, in the UI, the trigger DAG button is accessible:
   
   <img width="435" height="229" alt="Image" 
src="https://github.com/user-attachments/assets/366f6731-cbf2-4cd4-9f22-66f39ba8e422";
 />
   
   You can enter details, and only after clicking the "Trigger" button do you 
receive an error:
   
   <img width="870" height="906" alt="Image" 
src="https://github.com/user-attachments/assets/e9aae770-8412-485d-af4b-4359d45c1b4a";
 />
   
   It would be more intuitive to grey out the button when the user has no 
permissions to trigger DAGs.
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Run Airflow with read-only permissions
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### 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