Rules engine to enforce access control policy
Go to file
Ghanshyam Mann 99012db14b Add new config to enforce the new defaults
When policy change their default check_str and not override by
operator then old defaults check_str are added with OrCheck to the
new default check_str so that old defaults keep working.

If operators want to enforce the new defaults with no old defaults then
they have to overwrite the policy rule in poicy file with new default
value. This is not expected and very painful for them especially when
all policies are switching to new defaults. For example:
- https://review.opendev.org/#/q/topic:bp/policy-defaults-refresh+(status:open+OR+status:merged)

This commit adds a new config options to control the new defaults enforcement.
If True then old defaults will not be supported and also no warning will
be logged.

New config option is default to False so no change in behaviour for old users.

Change-Id: I3c2c889af25b723f1eedbe6167d614c6a4bc6cd2
2020-04-07 17:44:14 +00:00
doc [ussuri][goal] Drop python 2.7 support and testing 2020-02-06 07:21:40 +00:00
oslo_policy Add new config to enforce the new defaults 2020-04-07 17:44:14 +00:00
releasenotes Add new config to enforce the new defaults 2020-04-07 17:44:14 +00:00
sample_data Modernize policy checker 2019-10-10 08:38:14 -07:00
.coveragerc Fix coverage configuration and execution 2015-10-01 15:39:58 +00:00
.gitignore Move doc related modules to doc/requirements.txt 2019-07-06 18:38:54 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:29:48 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
.stestr.conf Fix requirements and convert to stestr 2018-07-02 17:30:07 +00:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2020-02-06 07:21:40 +00:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 23:36:11 +08:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
lower-constraints.txt Bump oslo.utils to 3.40.0 2020-04-07 16:08:24 +08:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-14 13:14:16 +00:00
requirements.txt Bump oslo.utils to 3.40.0 2020-04-07 16:08:24 +08:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2020-02-06 07:21:40 +00:00
setup.py remove outdated header 2020-02-11 18:54:49 +01:00
test-requirements.txt Update hacking for Python3 2020-03-30 14:41:48 +02:00
tox.ini Update hacking for Python3 2020-03-30 14:41:48 +02:00

Team and repository tags

image

oslo.policy

Latest Version

The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services.