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:
@@ -897,7 +897,8 @@ SECURITY_GROUP_RULES = {
|
|||||||
# See: https://wiki.openstack.org/wiki/Horizon/RESTAPI
|
# See: https://wiki.openstack.org/wiki/Horizon/RESTAPI
|
||||||
REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES',
|
REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES',
|
||||||
'LAUNCH_INSTANCE_DEFAULTS',
|
'LAUNCH_INSTANCE_DEFAULTS',
|
||||||
'OPENSTACK_IMAGE_FORMATS']
|
'OPENSTACK_IMAGE_FORMATS',
|
||||||
|
'OPENSTACK_KEYSTONE_BACKEND']
|
||||||
|
|
||||||
# Additional settings can be made available to the client side for
|
# Additional settings can be made available to the client side for
|
||||||
# extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS
|
# extensibility by specifying them in REST_API_ADDITIONAL_SETTINGS
|
||||||
|
|||||||
Reference in New Issue
Block a user