You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kevin Campbell (JIRA)" <ji...@apache.org> on 2019/05/15 01:59:00 UTC

[jira] [Created] (AIRFLOW-4520) RBAC user cannot clear from tree view

Kevin Campbell created AIRFLOW-4520:
---------------------------------------

             Summary: RBAC user cannot clear from tree view
                 Key: AIRFLOW-4520
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4520
             Project: Apache Airflow
          Issue Type: Bug
    Affects Versions: 1.10.3
            Reporter: Kevin Campbell


An RBAC user who can only access certain dags will receive an "Access is denied" in the tree view. The issue is that the clear operation performs a POST request, but the has_dag_access expects to handle GET requests when it calls
{code:java}
dag_id = request.args.get('dag_id'){code}
This is fixed by AIRFLOW-4240 in commit 22c559dce

Raising a JIRA ticket for completeness as there doesn't seem to be a record of the UI bug affecting users on 1.10.3

As a workaround you can clear tasks via Browse > TaskInstances



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