[release-announce] oslo.policy 3.1.0 (ussuri)
no-reply at openstack.org
no-reply at openstack.org
Mon Apr 13 16:22:46 UTC 2020
We are thrilled to announce the release of:
oslo.policy 3.1.0: Oslo Policy library
This release is part of the ussuri 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.1.0
^^^^^
New Features
* A new configuration option "enforce_new_defaults" has been added
to the "[oslo_policy]" group to control whether or not to use the
old deprecated defaults. If "True", the old deprecated defaults are
not going to be evaluated which means if any existing token is
allowed for old defaults but disallowed for new defaults it will be
disallowed. It is encouraged to enable this flag along with the
"enforce_scope" flag so that you can get the benefits of new
defaults and "scope_type" together. This way operators can switch to
new defaults without overwriting the rules in the policy file.
Changes in oslo.policy 3.0.3..3.1.0
-----------------------------------
e2ad8f6 Fix doc comments for new enforce default flag
51088be Allow disabling the default check_str change warnings
99012db Add new config to enforce the new defaults
a0b254e Cleanup warnings
8ce1619 Bump oslo.utils to 3.40.0
Diffstat (except docs and test files)
-------------------------------------
lower-constraints.txt | 2 +-
oslo_policy/generator.py | 17 +++--
oslo_policy/opts.py | 11 +++
oslo_policy/policy.py | 15 +++-
.../enforce_new_defaults-6ae17d8b8d166a2c.yaml | 11 +++
requirements.txt | 1 +
10 files changed, 138 insertions(+), 20 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index 204db1f..4a0c5ed 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12,0 +13 @@ stevedore>=1.20.0 # Apache-2.0
+oslo.utils>=3.40.0 # Apache-2.0
More information about the Release-announce
mailing list