You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded from Airflow 1.1015 to Airflow 2. Overall, the UI is much nicer, but the pause button concerns me. The button to toggle if a DAG is paused or unpaused is right next to the button to view the DAG itself, and if you click it there's no "Are you sure?" prompt. It seems like it would be too easy for someone to accidentally pause a DAG due to a mis-click and not realize they'd turned off DAGS in production, especially on a larger team where everyone uses the UI. I thought therefore the solution would be to create a user with permissions to everything but pause/unpause, but if I'm understanding https://airflow.apache.org/docs/apache-airflow/2.6.0/administration-and-deployment/security/access-control.html#dag-level-permissions correctly, the permission to pause/unpause is the same as the permission to clear DAG runs, which we do need everyone to have.
Is there anyway to disable or remove the option to pause DAGs in the UI for a given user without disabling/removing anything else?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently upgraded from Airflow 1.1015 to Airflow 2. Overall, the UI is much nicer, but the pause button concerns me. The button to toggle if a DAG is paused or unpaused is right next to the button to view the DAG itself, and if you click it there's no "Are you sure?" prompt. It seems like it would be too easy for someone to accidentally pause a DAG due to a mis-click and not realize they'd turned off DAGS in production, especially on a larger team where everyone uses the UI. I thought therefore the solution would be to create a user with permissions to everything but pause/unpause, but if I'm understanding https://airflow.apache.org/docs/apache-airflow/2.6.0/administration-and-deployment/security/access-control.html#dag-level-permissions correctly, the permission to pause/unpause is the same as the permission to clear DAG runs, which we do need everyone to have.
Is there anyway to disable or remove the option to pause DAGs in the UI for a given user without disabling/removing anything else?
Beta Was this translation helpful? Give feedback.
All reactions