[ 
https://issues.apache.org/jira/browse/AIRFLOW-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626709#comment-16626709
 ] 

ASF GitHub Bot commented on AIRFLOW-3109:
-----------------------------------------

r39132 closed pull request #3943: [AIRFLOW-3109] Bugfix to allow user/op roles 
to clear task intance vi…
URL: https://github.com/apache/incubator-airflow/pull/3943
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/www_rbac/security.py b/airflow/www_rbac/security.py
index 55570debf6..c0d8559275 100644
--- a/airflow/www_rbac/security.py
+++ b/airflow/www_rbac/security.py
@@ -113,6 +113,7 @@
     'set_running',
     'set_success',
     'clear',
+    'can_clear',
 }
 
 op_perms = {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Default user permission should contain 'can_clear'
> --------------------------------------------------
>
>                 Key: AIRFLOW-3109
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3109
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Joy Gao
>            Assignee: Joy Gao
>            Priority: Major
>
> The default user role is missing 'can_clear' permission which allows user to 
> clear DAG runs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to