b7bb76eb20
This commit allows horizon to handle deprecated policy rules. The approach is explained in the document updated by this change. oslo.policy requirement is updated. oslo.policy 3.2.0 is chosen just because it is the first release in Victoria cycle. requirements.txt and lower-constraints.txt are updated accordingly including oslo.policy dependencies. Change-Id: If5059d03f6bd7e94796065aa1b51c0c23ac85f5e
13 lines
493 B
Plaintext
13 lines
493 B
Plaintext
This folder contains default policies of back-end services.
|
|
They are generated based on policy-in-code in back-end services.
|
|
Operators are not expected to edit them.
|
|
|
|
To update these files, run the following command:
|
|
|
|
python manage.py dump_default_policies \
|
|
--namespace <service> \
|
|
--output-file openstack_dashboard/conf/default_policies/<service>.yaml
|
|
|
|
<service> must be a namespace under oslo.policy.policies to query and
|
|
we use "keystone", "nova", "cinder", "neutron" and "glance".
|