From 57ffb4384c4810077a8e241f1f77bbf1fc0b261c Mon Sep 17 00:00:00 2001 From: Rodrigo Barbieri Date: Thu, 3 Apr 2025 10:10:24 -0300 Subject: [PATCH] Fix missing create/delete role buttons The frontend create/delete role buttons on Identity>Roles page rely on a backend config OPENSTACK_KEYSTONE_BACKEND that is defined in the config file. However, the setting is not being returned to the frontend because there is another setting called REST_API_REQUIRED_SETTINGS that lists the settings that are returned to the frontend. This patch adds OPENSTACK_KEYSTONE_BACKEND to REST_API_REQUIRED_SETTINGS which was also done upstream on commit 9c19b07 back in 2019. Closes-bug: #2056377 Change-Id: Ia8a18e66610f7149399fe1614b1e515ecf799f55 --- templates/bobcat/local_settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/bobcat/local_settings.py b/templates/bobcat/local_settings.py index 5e489e53..a82a9f1f 100644 --- a/templates/bobcat/local_settings.py +++ b/templates/bobcat/local_settings.py @@ -897,7 +897,8 @@ SECURITY_GROUP_RULES = { # See: https://wiki.openstack.org/wiki/Horizon/RESTAPI REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES', 'LAUNCH_INSTANCE_DEFAULTS', - 'OPENSTACK_IMAGE_FORMATS'] + 'OPENSTACK_IMAGE_FORMATS', + 'OPENSTACK_KEYSTONE_BACKEND'] # Additional settings can be made available to the client side for # extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS