From ab72aa86e500f3553dd5aee5e6900e52956af844 Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Thu, 21 Mar 2024 15:57:13 +0100 Subject: [PATCH] Set POLICY_FILES_PATH correctly Since the policy files have all been moved from the app's directory in /usr/share/openstack-dashboard/openstack_dashboard/conf to the config directory at /etc/openstack-dashboard, we have to tell the app where to find them. Without this, all policy checks fail. --- templates/horizon/config/local_settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/horizon/config/local_settings.py b/templates/horizon/config/local_settings.py index 137a158e..4197ea30 100644 --- a/templates/horizon/config/local_settings.py +++ b/templates/horizon/config/local_settings.py @@ -35,6 +35,7 @@ "help_text": _(""), } HORIZON_CONFIG["enforce_password_check"] = True +POLICY_FILES_PATH = '/etc/openstack-dashboard' DEBUG = False # This setting controls whether or not compression is enabled. Disabling