diff options
author | Zuul <zuul@review.opendev.org> | 2022-04-25 15:57:53 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-04-25 15:57:53 +0000 |
commit | d89cdda6b13ad664443051a53b084781f255b048 (patch) | |
tree | c502fdb15abd83f547c6006cbd0e4d37ebfd5cb5 /releasenotes | |
parent | 9bc1783400f9960b7132bf631c690a98fbfc8066 (diff) | |
parent | b67e3c71a042719a6814621dd1c00c2e1818d2b1 (diff) | |
download | oslo-policy-d89cdda6b13ad664443051a53b084781f255b048.tar.gz |
Merge "make deprecated rule examples explicit"3.12.0
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/fix-deprecated-rule-handling-c6fe321fce6293a9.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-deprecated-rule-handling-c6fe321fce6293a9.yaml b/releasenotes/notes/fix-deprecated-rule-handling-c6fe321fce6293a9.yaml new file mode 100644 index 0000000..359b867 --- /dev/null +++ b/releasenotes/notes/fix-deprecated-rule-handling-c6fe321fce6293a9.yaml @@ -0,0 +1,19 @@ +--- +fixes: + - | + Fixes handling of deprecated rules when generating sample policy files + such that legacy rules are no longer automatically aliased in the + resulting output. Previously, the behavior led to operator confusion when + attempting to evaluate the output to determine if customized rules were + required, as the aliases were always added as active rules. A warning + is now also added to the generated output. + For more information, please see `launchpad bug #1945336 <https://bugs.launchpad.net/oslo.policy/+bug/1945336>`_. +features: + - Adds the ability to exclude deprecated policies from generated samples by + utilizing the ``--exclude-deprecated`` setting when generating YAML + example files. The Spinx generator can also be controlled using the + ``exclude_deprecated`` environment variable. By default, these rules + will be included, but operators and projects may not desire these + deprecated rules to exist in latest documentation, espescially when + considering the number of policy rules projects have made in the + Secure RBAC effort. |