brettplarson opened a new issue #22317:
URL: https://github.com/apache/airflow/issues/22317


   ### Description
   
   As an Airflow administrator I would like to be be able to configure a user 
account with permissions be able to "clear" and re-run a DAG run but also _not_ 
be able to pause a DAG.
   
   Currently this doesn't appear to be possible as `Toggle DAG paused status` 
and `Clear DAG Run` both come from the same `DAGs.can_edit` permission set.
   
   ### Use case/motivation
   
   A failure such as an unexpected reboot may require a non-privileged user to 
restart a run - without needing a huge amount of permissions.
   
   It is **_really easy_** to click and pause a DAG when viewing / browsing in 
the UI. 
   
   Either cancelling an existing dag run or preventing further runs from 
proceeding can be an issue.
   
   This happened a few times and has caused issues as the DAG was paused 
preventing important ETLs from running at their scheduled times.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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