Debian Codegraph @

releasenotes/notes/support-policy-and-doc-in-code-0c19e479dbd953c9.yaml

raw symbols SCIP
1 ---
2 features:
3 - |
4 Magnum now support policy in code [1], which means if users didn't modify
5 any of policy rules, they can leave policy file (in `json` or `yaml`
6 format) empty or just remove it all together. Because from now, Magnum
7 keeps all default policies under `magnum/common/policies` module. Users can
8 still modify/generate the policy rules they want in the `policy.yaml` or
9 `policy.json` file which will override the default policy rules in code
10 only if those rules show in the policy file.
11
12 [1]. https://blueprints.launchpad.net/magnum/+spec/policy-in-code
13 other:
14 - |
15 Default `policy.json` file is now removed as Magnum now generate the
16 default policies in code. Please be aware that when using that file in your
17 environment.
18 upgrade:
19 - |
20 Magnum now supports policy in code, please refer to the relevant
21 features in the release notes for more information.