This is an automated email from the ASF dual-hosted git repository.
vincbeck pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from e37fe8f576 Add `jsonpath_ng.ext.parse` support for `SqsSensor` (#36170)
add 1eca667e5f Create FAB provider and move FAB auth manager in it (#35926)
No new revisions were added by this update.
Summary of changes:
.../airflow_providers_bug_report.yml | 1 +
.pre-commit-config.yaml | 2 +-
CONTRIBUTING.rst | 2 +-
INSTALL | 2 +-
airflow/api/auth/backend/basic_auth.py | 8 +-
airflow/api/auth/backend/kerberos_auth.py | 2 +-
.../endpoints/forward_to_fab_endpoint.py | 4 +-
.../schemas/role_and_permission_schema.py | 2 +-
airflow/api_connexion/schemas/user_schema.py | 2 +-
airflow/api_connexion/security.py | 2 +-
.../managers/fab/api/auth/backend/basic_auth.py | 55 +-
.../managers/fab/api/auth/backend/kerberos_auth.py | 27 +-
.../auth/managers/fab/security_manager/override.py | 2659 +-------------------
airflow/cli/commands/standalone_command.py | 2 +-
airflow/config_templates/config.yml | 2 +-
.../versions/0073_2_0_0_prefix_dag_permissions.py | 2 +-
airflow/providers/fab/CHANGELOG.rst | 26 +
.../fab/cli_commands => providers/fab}/__init__.py | 0
.../fab/auth_manager}/__init__.py | 0
.../fab/auth_manager/api}/__init__.py | 0
.../fab/auth_manager}/api/auth/__init__.py | 0
.../fab/auth_manager/api/auth/backend}/__init__.py | 0
.../auth_manager}/api/auth/backend/basic_auth.py | 13 +-
.../api/auth/backend/kerberos_auth.py | 15 +-
.../fab/auth_manager}/api_endpoints/__init__.py | 0
.../api_endpoints/role_and_permission_endpoint.py | 31 +-
.../auth_manager}/api_endpoints/user_endpoint.py | 23 +-
.../fab/auth_manager/cli_commands}/__init__.py | 0
.../fab/auth_manager}/cli_commands/definition.py | 34 +-
.../fab/auth_manager}/cli_commands/role_command.py | 6 +-
.../cli_commands/sync_perm_command.py | 2 +-
.../fab/auth_manager}/cli_commands/user_command.py | 2 +-
.../fab/auth_manager}/cli_commands/utils.py | 0
.../fab/auth_manager/decorators}/__init__.py | 0
.../fab/auth_manager}/decorators/auth.py | 10 +-
.../fab/auth_manager}/fab_auth_manager.py | 28 +-
.../fab/auth_manager}/models/__init__.py | 0
.../fab/auth_manager}/models/anonymous_user.py | 0
.../fab/auth_manager/openapi}/__init__.py | 0
.../fab/auth_manager}/openapi/v1.yaml | 22 +-
.../fab/auth_manager/security_manager}/__init__.py | 0
.../auth_manager}/security_manager/constants.py | 0
.../fab/auth_manager}/security_manager/override.py | 61 +-
.../fab/auth_manager/views}/__init__.py | 0
.../fab/auth_manager}/views/permissions.py | 0
.../fab/auth_manager}/views/roles_list.py | 0
.../fab/auth_manager}/views/user.py | 0
.../fab/auth_manager}/views/user_edit.py | 0
.../fab/auth_manager}/views/user_stats.py | 0
.../constants.py => providers/fab/provider.yaml} | 28 +-
airflow/providers/installed_providers.txt | 1 +
airflow/utils/db.py | 6 +-
airflow/www/auth.py | 2 +-
airflow/www/security.py | 4 +-
airflow/www/security_appless.py | 2 +-
airflow/www/security_manager.py | 11 +-
dev/breeze/src/airflow_breeze/global_constants.py | 7 +-
docs/apache-airflow-providers-fab/auth-manager.rst | 21 +
docs/apache-airflow-providers-fab/changelog.rst | 18 +
docs/apache-airflow-providers-fab/commits.rst | 19 +
docs/apache-airflow-providers-fab/index.rst | 92 +
.../installing-providers-from-sources.rst | 0
.../security.rst | 0
docs/apache-airflow/extra-packages-ref.rst | 2 +
docs/apache-airflow/security/access-control.rst | 6 +-
docs/spelling_wordlist.txt | 4 +
generated/provider_dependencies.json | 11 +
images/breeze/output_build-docs.svg | 4 +-
images/breeze/output_build-docs.txt | 2 +-
...tput_release-management_add-back-references.svg | 4 +-
...tput_release-management_add-back-references.txt | 2 +-
...management_generate-issue-content-providers.svg | 2 +-
...management_generate-issue-content-providers.txt | 2 +-
...e-management_prepare-provider-documentation.svg | 2 +-
...e-management_prepare-provider-documentation.txt | 2 +-
...elease-management_prepare-provider-packages.svg | 2 +-
...elease-management_prepare-provider-packages.txt | 2 +-
.../output_release-management_publish-docs.svg | 4 +-
.../output_release-management_publish-docs.txt | 2 +-
...output_sbom_generate-providers-requirements.svg | 8 +-
...output_sbom_generate-providers-requirements.txt | 2 +-
setup.cfg | 3 +-
.../endpoints/test_forward_to_fab_endpoint.py | 2 +-
tests/api_connexion/schemas/test_user_schema.py | 2 +-
tests/auth/managers/fab/api_endpoints/__init__.py | 16 -
tests/auth/managers/fab/auth/__init__.py | 16 -
tests/auth/managers/fab/auth/backend/__init__.py | 16 -
tests/auth/managers/fab/cli_commands/__init__.py | 16 -
tests/auth/managers/fab/decorators/__init__.py | 16 -
.../auth/managers/fab/security_manager/__init__.py | 16 -
.../api/auth => tests/providers/fab}/__init__.py | 0
.../providers/fab/auth_manager}/__init__.py | 0
.../providers/fab/auth_manager/api}/__init__.py | 0
.../fab/auth_manager/api/auth}/__init__.py | 0
.../fab/auth_manager/api/auth/backend}/__init__.py | 0
.../api}/auth/backend/test_basic_auth.py | 31 +-
.../api/auth/backend/test_kerberos_auth.py} | 12 +-
.../fab/auth_manager/api_endpoints}/__init__.py | 0
.../test_role_and_permission_endpoint.py | 4 +-
.../api_endpoints/test_user_endpoint.py | 4 +-
.../fab/auth_manager/cli_commands}/__init__.py | 0
.../auth_manager/cli_commands/test_definition.py} | 19 +-
.../cli_commands/test_role_command.py | 6 +-
.../cli_commands/test_sync_perm_command.py | 6 +-
.../cli_commands/test_user_command.py | 27 +-
.../fab/auth_manager/cli_commands/test_utils.py} | 14 +-
.../fab/auth_manager}/conftest.py | 0
.../fab/auth_manager/decorators}/__init__.py | 0
.../fab/auth_manager}/decorators/test_auth.py | 71 +-
.../providers/fab/auth_manager/models}/__init__.py | 0
.../auth_manager/models/test_anonymous_user.py} | 19 +-
.../fab/auth_manager/security_manager}/__init__.py | 0
.../security_manager/test_constants.py} | 15 +-
.../security_manager/test_override.py | 4 +-
.../fab/auth_manager}/test_fab_auth_manager.py | 14 +-
.../fab/auth_manager}/test_models.py | 2 +-
.../providers/fab/auth_manager/views}/__init__.py | 0
.../fab/auth_manager/views/test_permissions.py | 70 +
.../fab/auth_manager/views/test_roles_list.py | 60 +
.../providers/fab/auth_manager/views/test_user.py | 60 +
.../fab/auth_manager/views/test_user_edit.py | 60 +
.../fab/auth_manager/views/test_user_stats.py | 60 +
tests/test_utils/api_connexion_utils.py | 2 +-
tests/test_utils/db.py | 2 +-
tests/test_utils/mock_security_manager.py | 2 +-
tests/test_utils/www.py | 2 +-
tests/www/test_auth.py | 2 +-
tests/www/test_security.py | 8 +-
tests/www/views/test_session.py | 2 +-
tests/www/views/test_views_custom_user_views.py | 24 +-
130 files changed, 940 insertions(+), 3086 deletions(-)
create mode 100644 airflow/providers/fab/CHANGELOG.rst
rename airflow/{auth/managers/fab/cli_commands => providers/fab}/__init__.py
(100%)
rename airflow/{auth/managers/fab/decorators =>
providers/fab/auth_manager}/__init__.py (100%)
copy airflow/{api/auth => providers/fab/auth_manager/api}/__init__.py (100%)
copy airflow/{ => providers/fab/auth_manager}/api/auth/__init__.py (100%)
copy airflow/{api/auth =>
providers/fab/auth_manager/api/auth/backend}/__init__.py (100%)
copy airflow/{auth/managers/fab =>
providers/fab/auth_manager}/api/auth/backend/basic_auth.py (78%)
copy airflow/{auth/managers/fab =>
providers/fab/auth_manager}/api/auth/backend/kerberos_auth.py (70%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/api_endpoints/__init__.py (100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/api_endpoints/role_and_permission_endpoint.py (85%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/api_endpoints/user_endpoint.py (89%)
copy airflow/{api/auth => providers/fab/auth_manager/cli_commands}/__init__.py
(100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/definition.py (80%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/role_command.py (96%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/sync_perm_command.py (94%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/user_command.py (99%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/utils.py (100%)
copy airflow/{api/auth => providers/fab/auth_manager/decorators}/__init__.py
(100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/decorators/auth.py (90%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/fab_auth_manager.py (96%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/models/__init__.py (100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/models/anonymous_user.py (100%)
rename airflow/{auth/managers/fab/views =>
providers/fab/auth_manager/openapi}/__init__.py (100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/openapi/v1.yaml (93%)
copy airflow/{api/auth =>
providers/fab/auth_manager/security_manager}/__init__.py (100%)
copy airflow/{auth/managers/fab =>
providers/fab/auth_manager}/security_manager/constants.py (100%)
copy airflow/{auth/managers/fab =>
providers/fab/auth_manager}/security_manager/override.py (98%)
copy airflow/{api_connexion => providers/fab/auth_manager/views}/__init__.py
(100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/views/permissions.py (100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/views/roles_list.py (100%)
rename airflow/{auth/managers/fab => providers/fab/auth_manager}/views/user.py
(100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/views/user_edit.py (100%)
rename airflow/{auth/managers/fab =>
providers/fab/auth_manager}/views/user_stats.py (100%)
rename airflow/{auth/managers/fab/security_manager/constants.py =>
providers/fab/provider.yaml} (69%)
create mode 100644 docs/apache-airflow-providers-fab/auth-manager.rst
create mode 100644 docs/apache-airflow-providers-fab/changelog.rst
create mode 100644 docs/apache-airflow-providers-fab/commits.rst
create mode 100644 docs/apache-airflow-providers-fab/index.rst
copy docs/{apache-airflow-providers-airbyte =>
apache-airflow-providers-fab}/installing-providers-from-sources.rst (100%)
copy docs/{apache-airflow-providers-airbyte =>
apache-airflow-providers-fab}/security.rst (100%)
delete mode 100644 tests/auth/managers/fab/api_endpoints/__init__.py
delete mode 100644 tests/auth/managers/fab/auth/__init__.py
delete mode 100644 tests/auth/managers/fab/auth/backend/__init__.py
delete mode 100644 tests/auth/managers/fab/cli_commands/__init__.py
delete mode 100644 tests/auth/managers/fab/decorators/__init__.py
delete mode 100644 tests/auth/managers/fab/security_manager/__init__.py
copy {airflow/api/auth => tests/providers/fab}/__init__.py (100%)
copy {airflow/api/auth => tests/providers/fab/auth_manager}/__init__.py (100%)
copy {airflow/api/auth => tests/providers/fab/auth_manager/api}/__init__.py
(100%)
copy {airflow/api_connexion =>
tests/providers/fab/auth_manager/api/auth}/__init__.py (100%)
copy {airflow/api_connexion =>
tests/providers/fab/auth_manager/api/auth/backend}/__init__.py (100%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager/api}/auth/backend/test_basic_auth.py (77%)
copy tests/{test_utils/mock_security_manager.py =>
providers/fab/auth_manager/api/auth/backend/test_kerberos_auth.py} (75%)
copy {airflow/api_connexion =>
tests/providers/fab/auth_manager/api_endpoints}/__init__.py (100%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/api_endpoints/test_role_and_permission_endpoint.py
(99%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/api_endpoints/test_user_endpoint.py (99%)
copy {airflow/api_connexion =>
tests/providers/fab/auth_manager/cli_commands}/__init__.py (100%)
copy tests/{test_utils/mock_security_manager.py =>
providers/fab/auth_manager/cli_commands/test_definition.py} (66%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/test_role_command.py (96%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/test_sync_perm_command.py (88%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/cli_commands/test_user_command.py (95%)
copy tests/{test_utils/mock_security_manager.py =>
providers/fab/auth_manager/cli_commands/test_utils.py} (68%)
rename tests/{auth/managers/fab/api_endpoints =>
providers/fab/auth_manager}/conftest.py (100%)
copy {airflow/api_connexion =>
tests/providers/fab/auth_manager/decorators}/__init__.py (100%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/decorators/test_auth.py (62%)
copy {airflow/api/auth => tests/providers/fab/auth_manager/models}/__init__.py
(100%)
copy tests/{test_utils/mock_security_manager.py =>
providers/fab/auth_manager/models/test_anonymous_user.py} (67%)
copy {airflow/api_connexion =>
tests/providers/fab/auth_manager/security_manager}/__init__.py (100%)
copy tests/{test_utils/mock_security_manager.py =>
providers/fab/auth_manager/security_manager/test_constants.py} (72%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/security_manager/test_override.py (89%)
rename tests/{auth/managers/fab =>
providers/fab/auth_manager}/test_fab_auth_manager.py (96%)
rename tests/{auth/managers/fab => providers/fab/auth_manager}/test_models.py
(97%)
copy {airflow/api/auth => tests/providers/fab/auth_manager/views}/__init__.py
(100%)
create mode 100644 tests/providers/fab/auth_manager/views/test_permissions.py
create mode 100644 tests/providers/fab/auth_manager/views/test_roles_list.py
create mode 100644 tests/providers/fab/auth_manager/views/test_user.py
create mode 100644 tests/providers/fab/auth_manager/views/test_user_edit.py
create mode 100644 tests/providers/fab/auth_manager/views/test_user_stats.py