You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/16 18:26:54 UTC

[GitHub] [airflow] brettplarson opened a new issue #22317: Make pause DAG it's own role separate from edit DAG

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] danielbeach commented on issue #22317: Make pause DAG it's own role separate from edit DAG

Posted by GitBox <gi...@apache.org>.
danielbeach commented on issue #22317:
URL: https://github.com/apache/airflow/issues/22317#issuecomment-1079385197


   @potiuk I would like to work on this as my first contribution. I would appreciate any mentorship through the process. I'm going to work this weekend to get every cloned and start investigating. Thanks!


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #22317: Make pause DAG it's own role separate from edit DAG

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #22317:
URL: https://github.com/apache/airflow/issues/22317#issuecomment-1073012043


   Marked is a good-first-issue. Maybe someone would like to take it on. But if you feel like that @brettplarson the surest way to get it implemented is for you to contribute it :). You could join some 2000 contrinbutors to Airlfow.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #22317: Make pause DAG it's own role separate from edit DAG

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #22317:
URL: https://github.com/apache/airflow/issues/22317#issuecomment-1079393853


   Sure :). Go ahead and ask questions. Ideally - in #airflow-how-to-pr  channel in our slack so that it does not rely on me being present. There are plenty of contributors who can help. It does not have to be me


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #22317: Make pause DAG it's own role separate from edit DAG

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #22317:
URL: https://github.com/apache/airflow/issues/22317#issuecomment-1069421624


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org