Update description about policy settings
... to follow the change in horizon [1] [1] https://review.opendev.org/c/openstack/horizon/+/750134 Change-Id: Id279c979b7cfa0665551f6eb2d6a0418be902052
This commit is contained in:
parent
1665669943
commit
58ed7e9245
|
@ -673,12 +673,11 @@ POLICY_FILES_PATH = '/etc/openstack-dashboard'
|
|||
# Having matching policy files on the Horizon and Keystone servers is essential
|
||||
# for normal operation. This holds true for all services and their policy files.
|
||||
#POLICY_FILES = {
|
||||
# 'identity': 'keystone_policy.json',
|
||||
# 'compute': 'nova_policy.json',
|
||||
# 'volume': 'cinder_policy.json',
|
||||
# 'image': 'glance_policy.json',
|
||||
# 'orchestration': 'heat_policy.json',
|
||||
# 'network': 'neutron_policy.json',
|
||||
# 'identity': 'keystone_policy.yaml',
|
||||
# 'compute': 'nova_policy.yaml',
|
||||
# 'volume': 'cinder_policy.yaml',
|
||||
# 'image': 'glance_policy.yaml',
|
||||
# 'network': 'neutron_policy.yaml',
|
||||
#}
|
||||
<% if @policy_files.kind_of?(Hash) %>
|
||||
POLICY_FILES = {
|
||||
|
@ -688,6 +687,21 @@ POLICY_FILES = {
|
|||
} # POLICY_FILES
|
||||
<% end -%>
|
||||
|
||||
# Services for which horizon has extra policies are defined
|
||||
# in POLICY_DIRS by default.
|
||||
#POLICY_DIRS = {
|
||||
# 'compute': ['nova_policy.d'],
|
||||
# 'volume': ['cinder_policy.d'],
|
||||
#}
|
||||
|
||||
#DEFAULT_POLICY_FILES = {
|
||||
# 'identity': 'default_policies/keystone.yaml',
|
||||
# 'compute': 'default_policies/nova.yaml',
|
||||
# 'volume': 'default_policies/cinder.yaml',
|
||||
# 'image': 'default_policies/glance.yaml',
|
||||
# 'network': 'default_policies/neutron.yaml',
|
||||
#}
|
||||
|
||||
# TODO: (david-lyle) remove when plugins support adding settings.
|
||||
# Note: Only used when trove-dashboard plugin is configured to be used by
|
||||
# Horizon.
|
||||
|
|
Loading…
Reference in New Issue