You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Mykola Mykhalov (JIRA)" <ji...@apache.org> on 2018/04/03 14:50:00 UTC

[jira] [Created] (AIRFLOW-2278) Add possibility to edit DAGs in webapp

Mykola Mykhalov created AIRFLOW-2278:
----------------------------------------

             Summary: Add possibility to edit DAGs in webapp
                 Key: AIRFLOW-2278
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2278
             Project: Apache Airflow
          Issue Type: Improvement
          Components: webapp
            Reporter: Mykola Mykhalov
            Assignee: Mykola Mykhalov


When you need to make some minor changes in your DAG would be nice to have possibility to edit it from webapp.

To protect DAG from editing by everyone should be set up arg inside DAG 'editable_by'. Where '*' means everyone, and  ['user1', 'user2'] means specific users.

Example when DAG can be editable in webapp by user1 and user2 only:

args = {
 'owner': 'airflow',
 'editable_by': ['user1', 'user2'],
 'start_date': airflow.utils.dates.days_ago(2)
}



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