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/29 00:08:25 UTC

[airflow] branch master updated (e802c6c -> 4cb0621)

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 e802c6c  Add docs about Scheduler HA, how to use it and DB requirements (#11467)
     add 4cb0621  Use resource permissions for Airflow view access (#11362)

No new revisions were added by this update.

Summary of changes:
 airflow/api_connexion/endpoints/dag_endpoint.py    |   8 +-
 .../api_connexion/endpoints/dag_run_endpoint.py    |  10 +-
 .../api_connexion/endpoints/event_log_endpoint.py  |   4 +-
 .../api_connexion/endpoints/extra_link_endpoint.py |   3 +-
 airflow/api_connexion/endpoints/log_endpoint.py    |   4 +-
 airflow/api_connexion/endpoints/task_endpoint.py   |   8 +-
 .../endpoints/task_instance_endpoint.py            |  20 +-
 airflow/api_connexion/endpoints/xcom_endpoint.py   |   8 +-
 airflow/api_connexion/security.py                  |  47 +--
 .../2c6edca13270_resource_based_permissions.py     | 323 +++++++++++++++
 airflow/models/dagbag.py                           |   1 -
 airflow/security/permissions.py                    |  50 ++-
 airflow/www/auth.py                                |  41 ++
 airflow/www/decorators.py                          |  27 +-
 airflow/www/extensions/init_views.py               |  61 ++-
 airflow/www/security.py                            | 264 ++++++------
 airflow/www/views.py                               | 442 ++++++++++++++++-----
 docs/security/access-control.rst                   | 175 +++++---
 tests/api_connexion/endpoints/test_dag_endpoint.py |   8 +-
 .../endpoints/test_dag_run_endpoint.py             |   2 +-
 .../endpoints/test_event_log_endpoint.py           |   2 +-
 .../endpoints/test_extra_link_endpoint.py          |   3 +-
 tests/api_connexion/endpoints/test_log_endpoint.py |   6 +-
 .../api_connexion/endpoints/test_task_endpoint.py  |   4 +-
 .../endpoints/test_task_instance_endpoint.py       |   6 +-
 .../api_connexion/endpoints/test_xcom_endpoint.py  |   6 +-
 tests/www/test_decorators.py                       |  47 ---
 tests/www/test_security.py                         |  40 +-
 tests/www/test_views.py                            | 418 +++++++++++++++----
 29 files changed, 1434 insertions(+), 604 deletions(-)
 create mode 100644 airflow/migrations/versions/2c6edca13270_resource_based_permissions.py
 create mode 100644 airflow/www/auth.py
 delete mode 100644 tests/www/test_decorators.py