You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/10/15 23:34:30 UTC
[airflow] branch master updated (89d4dd8 -> 7ab6210)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git.
from 89d4dd8 Auto-refresh default state (#11559)
add 7ab6210 Prepend `DAG:` to dag permissions (#11189)
No new revisions were added by this update.
Summary of changes:
UPDATING.md | 10 +
airflow/api_connexion/endpoints/dag_endpoint.py | 9 +-
.../api_connexion/endpoints/dag_run_endpoint.py | 11 +-
.../api_connexion/endpoints/extra_link_endpoint.py | 3 +-
airflow/api_connexion/endpoints/log_endpoint.py | 5 +-
airflow/api_connexion/endpoints/task_endpoint.py | 5 +-
.../endpoints/task_instance_endpoint.py | 17 +-
airflow/api_connexion/endpoints/xcom_endpoint.py | 15 +-
airflow/api_connexion/security.py | 6 +-
.../849da589634d_prefix_dag_permissions.py | 115 +++++++++++
airflow/models/dag.py | 33 +++-
.../permissions.py} | 19 +-
airflow/www/app.py | 1 +
airflow/www/decorators.py | 50 +++--
airflow/www/security.py | 166 ++++++++++------
airflow/www/views.py | 13 +-
tests/api_connexion/endpoints/test_dag_endpoint.py | 9 +-
.../endpoints/test_dag_run_endpoint.py | 3 +-
.../endpoints/test_extra_link_endpoint.py | 3 +-
tests/api_connexion/endpoints/test_log_endpoint.py | 7 +-
.../api_connexion/endpoints/test_task_endpoint.py | 7 +-
.../endpoints/test_task_instance_endpoint.py | 3 +-
.../api_connexion/endpoints/test_xcom_endpoint.py | 3 +-
tests/cli/commands/test_sync_perm_command.py | 4 +-
tests/models/test_dag.py | 13 ++
tests/serialization/test_dag_serialization.py | 6 +-
.../{api_connexion_utils.py => fab_utils.py} | 13 +-
tests/www/test_security.py | 220 +++++++++++----------
tests/www/test_views.py | 57 +++---
29 files changed, 555 insertions(+), 271 deletions(-)
create mode 100644 airflow/migrations/versions/849da589634d_prefix_dag_permissions.py
copy airflow/{api_connexion/schemas/dag_source_schema.py => security/permissions.py} (71%)
copy tests/test_utils/{api_connexion_utils.py => fab_utils.py} (87%)