5e7a0519cf
As per the community goal of migrating the policy file the format from JSON to YAML[1], we need to do two things: 1. Change the default value of '[oslo_policy] policy_file'' config option from 'policy.json' to 'policy.yaml' with upgrade checks. 2. Deprecate the JSON formatted policy file on the project side via warning in doc and releasenotes. Also replace policy.json to policy.yaml ref from doc and tests. [1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html Change-Id: Ia0fa4ba1fecf2740a291c5a65b906b089c95404d
17 lines
516 B
ReStructuredText
17 lines
516 B
ReStructuredText
===========
|
|
policy.yaml
|
|
===========
|
|
|
|
.. warning::
|
|
|
|
JSON formatted policy file is deprecated since Aodh 12.0.0 (Wallaby).
|
|
This `oslopolicy-convert-json-to-yaml`__ tool will migrate your existing
|
|
JSON-formatted policy file to YAML in a backward-compatible way.
|
|
|
|
.. __: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html
|
|
|
|
Use the ``policy.yaml`` file to define additional access controls that will be
|
|
applied to Aodh:
|
|
|
|
.. literalinclude:: ../_static/aodh.policy.yaml.sample
|