airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xich Long Le (Jira)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-6399) DAG access_control field does not work with DAG serialization
Date Mon, 30 Dec 2019 08:47:00 GMT
Xich Long Le created AIRFLOW-6399:
-------------------------------------

             Summary: DAG access_control field does not work with DAG serialization
                 Key: AIRFLOW-6399
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6399
             Project: Apache Airflow
          Issue Type: Bug
          Components: DAG, scheduler, webserver
    Affects Versions: 1.10.7
            Reporter: Xich Long Le


When DAG serialization is enabled, if any DAG contain field: "access_control":
- Scheduler will fail to schedule all jobs.
- Webserver cannot browse those DAG with "access_control"

Scheduler output:
ValidationError: Additional properties are not allowed ('_access_control' was unexpected)
Failed validating u'additionalProperties' in schema[u'allOf'][0][u'properties'][u'dag']

This might be due to [https://github.com/apache/airflow/blob/1.10.7/airflow/serialization/schema.json|https://github.com/apache/airflow/blob/1.10.7/airflow/serialization/schema.json]
does not have access_control as a whitelisted field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message