You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "rlebreto (via GitHub)" <gi...@apache.org> on 2025/08/21 10:45:23 UTC
[D] enable "clear task" button for a private role [airflow]
GitHub user rlebreto created a discussion: enable "clear task" button for a private role
Hi everybody
I created a dedicated role for some users.
access_control for this role on DAG and DAG.Run levels work fine, but users are not allow to clear a task (to rerun a failed one for instance).
I added the following priv to the role :
- menu access on Task Instances,
- can read on Task Instances,
- can create on Task Instances,
- can edit on Task Instances,
- can delete on Task Instances,
but the button is staying desperately disabled.
Thanks a lot for your help !
<img width="958" height="219" alt="image (2)" src="https://github.com/user-attachments/assets/114da576-46b5-4cde-983c-653e074617b1" />
GitHub link: https://github.com/apache/airflow/discussions/54770
----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org
Re: [D] enable "clear task" button for a private role [airflow]
Posted by "aristotal34 (via GitHub)" <gi...@apache.org>.
GitHub user aristotal34 added a comment to the discussion: enable "clear task" button for a private role
It seems like the issue is related to the specific permissions not fully covering task clearing in Airflow. Sometimes even if you set can edit and can delete on Task Instances, the UI button stays disabled because additional DAG-level or admin rights are required. You might want to double-check if the role has proper DAG-level edit permissions. By the way, if you’re interested in exploring something fun outside of this setup, you can check out [this](https://null-brawl.com.de/) which might be useful.
GitHub link: https://github.com/apache/airflow/discussions/54770#discussioncomment-14181247
----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org
Re: [D] enable "clear task" button for a private role [airflow]
Posted by "rlebreto (via GitHub)" <gi...@apache.org>.
GitHub user rlebreto edited a discussion: enable "clear task" button for a private role
Hi everybody
I created a dedicated role for some users.
access_control for this role on DAG and DAG.Run levels work fine, but users are not allow to clear a task (to rerun a failed one for instance).
I added the following priv to the role :
- menu access on Task Instances,
- can read on Task Instances,
- can create on Task Instances,
- can edit on Task Instances,
- can delete on Task Instances,
but the button is staying desperately disabled.
Thanks a lot for your help !
**Version: [v2.10.5](https://pypi.python.org/pypi/apache-airflow/2.10.5)
Git Version: .release:b93c3db6b1641b0840bd15ac7d05bc58ff2cccbf**
<img width="958" height="219" alt="image (2)" src="https://github.com/user-attachments/assets/114da576-46b5-4cde-983c-653e074617b1" />
GitHub link: https://github.com/apache/airflow/discussions/54770
----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org