You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/03/16 12:12:11 UTC
[airflow] branch master updated (a85d840 -> 0e13458)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git.
from a85d840 Make pytest collection warnings errors (#14832)
add 0e13458 Add readonly REST API endpoint for roles and permissions (#14664)
No new revisions were added by this update.
Summary of changes:
.../endpoints/role_and_permission_endpoint.py | 66 +++++++++
airflow/api_connexion/openapi/v1.yaml | 144 +++++++++++++++++++-
.../schemas/role_and_permission_schema.py | 101 ++++++++++++++
airflow/security/permissions.py | 4 +
.../endpoints/test_role_and_permission_endpoint.py | 148 +++++++++++++++++++++
.../schemas/test_role_and_permission_schema.py | 111 ++++++++++++++++
tests/test_utils/api_connexion_utils.py | 6 +-
tests/test_utils/fab_utils.py | 6 +-
8 files changed, 581 insertions(+), 5 deletions(-)
create mode 100644 airflow/api_connexion/endpoints/role_and_permission_endpoint.py
create mode 100644 airflow/api_connexion/schemas/role_and_permission_schema.py
create mode 100644 tests/api_connexion/endpoints/test_role_and_permission_endpoint.py
create mode 100644 tests/api_connexion/schemas/test_role_and_permission_schema.py