manila/releasenotes/notes/add-policy-in-code-c31a24ee045d8d21.yaml
zhongjun d0c695b48e Add policy documentation and sample file [10/10]
This patch adds documentation and sample
file for default policy in code feature.

Change-Id: I597971a19ec61a1bf8c991b2712ec7644b2e2693
Partial-Implements: blueprint policy-in-code
2017-12-22 01:56:44 +00:00

13 lines
682 B
YAML

---
features:
- Default Role Based Access Control (RBAC) policies for all the Manila
APIs have moved into code from the auxiliary ``policy.json`` file.
upgrade:
- Removed the default ``policy.json`` file.
- Operators need not maintain the ``policy.json`` file if they were not
overriding default manila policies.
- If Operators need to override certain RBAC policies, they can do so by
creating a JSON formatted file named ``policy.json`` and populate it
with the necessary overrides. This file must be placed in the config
directory. The default RBAC policies are documented in the configuration
reference alongside other sample configuration files.