From 8ccc82f8b39f27eb766ce7f7a347024a1255996a Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Wed, 4 Sep 2024 13:31:28 -0400 Subject: [PATCH] Update settings from DAB features --- awx/settings/defaults.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index 50e467adf2fb..4d0277d0e2ba 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -523,6 +523,7 @@ 'awx.sso.social_base_pipeline.set_is_active_for_new_user', 'social_core.pipeline.user.user_details', 'awx.sso.social_base_pipeline.prevent_inactive_login', + 'ansible_base.resource_registry.utils.service_backed_sso_pipeline.redirect_to_resource_server', ) SOCIAL_AUTH_PIPELINE = _SOCIAL_AUTH_PIPELINE_BASE + ('awx.sso.social_pipeline.update_user_orgs', 'awx.sso.social_pipeline.update_user_teams') SOCIAL_AUTH_SAML_PIPELINE = _SOCIAL_AUTH_PIPELINE_BASE + ('awx.sso.saml_pipeline.populate_user', 'awx.sso.saml_pipeline.update_user_flags') @@ -1160,6 +1161,9 @@ # Use AWX base view, to give 401 on unauthenticated requests ANSIBLE_BASE_CUSTOM_VIEW_PARENT = 'awx.api.generics.APIView' +# If we have a resource server defined, apply local changes to that server +RESOURCE_SERVER_SYNC_ENABLED = True + # Settings for the ansible_base RBAC system # This has been moved to data migration code