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
This commit is contained in:
Rodrigo Barbieri 2025-04-03 10:10:24 -03:00
parent fed753d3d1
commit 57ffb4384c

View File

@ -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