[release-announce] oslo.policy 3.12.0 (zed)
no-reply at openstack.org
no-reply at openstack.org
Wed Apr 27 15:36:45 UTC 2022
We are pumped to announce the release of:
oslo.policy 3.12.0: Oslo Policy library
This release is part of the zed release series.
The source is available from:
https://opendev.org/openstack/oslo.policy
Download the package from:
https://pypi.org/project/oslo.policy
Please report issues through:
https://bugs.launchpad.net/oslo.policy/+bugs
For more details, please see below.
3.12.0
^^^^^^
New 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.
Bug 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).
Changes in oslo.policy 3.11.0..3.12.0
-------------------------------------
9bc1783 Don't raise InvalidScope exception when do_raise=False
9eef147 Add Python3 zed unit tests
cdec2c1 Update master for stable/yoga
b67e3c7 make deprecated rule examples explicit
Diffstat (except docs and test files)
-------------------------------------
.zuul.yaml | 2 +-
oslo_policy/generator.py | 49 +++++++++++++++++-----
oslo_policy/policy.py | 23 +++++++---
oslo_policy/sphinxpolicygen.py | 17 +++++---
...-deprecated-rule-handling-c6fe321fce6293a9.yaml | 19 +++++++++
releasenotes/source/index.rst | 1 +
releasenotes/source/yoga.rst | 6 +++
12 files changed, 161 insertions(+), 39 deletions(-)
More information about the Release-announce
mailing list