Debian Codegraph @

releasenotes/notes/bp-policy-in-code-722372a27291b9cd.yaml

raw symbols SCIP
1 ---
2 features:
3 - >
4 `[`blueprint policy-in-code <https://blueprints.launchpad.net/keystone/+spec/policy-in-code>`_]
5 Keystone now supports the ability to register default policies in code.
6 This makes policy file maintenance easier by allowing duplicated default
7 policies to be removed from the policy file. The only policies that should
8 exist within a deployment's policy file after Pike should be policy
9 overrides. Note that there is no longer a default value for the default
10 rule. That rule is only checked when the more specific rule cannot be
11 found, and with policy in code all rules should be found in code even if
12 they are not in the policy file. To generate sample policy files from
13 default values, prune default policies from existing policy files, or
14 familiarize yourself with general policy usage, please see the
15 `usage documentation
16 <https://docs.openstack.org/developer/oslo.policy/usage.html>`_
17 provided in oslo.policy.
18
19 upgrade:
20 - >
21 `[`blueprint policy-in-code <https://blueprints.launchpad.net/keystone/+spec/policy-in-code>`_]
22 Keystone now supports the ability to register default policies in code.
23 This makes policy file maintenance easier by allowing duplicated default
24 policies to be removed from the policy file. The only policies that should
25 exist within a deployment's policy file after Pike should be policy
26 overrides. Note that there is no longer a default value for the default
27 rule. That rule is only checked when the more specific rule cannot be
28 found, and with policy in code all rules should be found in code even if
29 they are not in the policy file. To generate sample policy files from
30 default values, prune default policies from existing policy files, or
31 familiarize yourself with general policy usage, please see the
32 `usage documentation
33 <https://docs.openstack.org/developer/oslo.policy/usage.html>`_
34 provided in oslo.policy.