Rules engine to enforce access control policy
Go to file
Takashi Kajinami 973498106f Add flag to skip undefined rule check
Some components like neutron-lib builds its own sub-enforcer which
enforces policy rules partially. However even these enforcer may load
the full policy rules in the file and this causes a lot of warnings
about "undefined rules".

This introduces a new flag so that users can disable undefined check,
when they know the undefined rules are "expected".

Note that the flag is not formally exposed, because we don't know if
this requirement is common. If we find similar problems with different
components then we may add an argument to __init__ .

Related-Bug: #2048198
Change-Id: Ibb4e8e877640e8488aaffb40560e930b0cbfcbce
2024-01-31 10:41:22 +09:00
doc Fix doc build error 2023-10-04 19:01:50 +09:00
oslo_policy Add flag to skip undefined rule check 2024-01-31 10:41:22 +09:00
releasenotes Update master for stable/2023.2 2023-09-07 09:37:43 +00:00
sample_data Modernize policy checker 2019-10-10 08:38:14 -07:00
.coveragerc coveragerc: Remove non-existent path 2023-12-19 20:51:14 +09: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
.pre-commit-config.yaml Move flake8 as a pre-commit local target. 2021-04-07 16:33:45 +02:00
.stestr.conf Fix requirements and convert to stestr 2018-07-02 17:30:07 +00:00
.zuul.yaml Moves supported python runtimes from version 3.8 to 3.10 2023-04-10 16:27:16 +00:00
CONTRIBUTING.rst Fix grammar issues 2020-11-01 18:08:33 -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
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-14 13:14:16 +00:00
requirements.txt Add policy file selection logic when default changing to yaml 2020-11-19 11:30:23 -06:00
setup.cfg Update python classifier in setup.cfg 2024-01-11 16:19:14 -08:00
setup.py remove outdated header 2020-02-11 18:54:49 +01:00
test-requirements.txt pre-commit: Resolve dependency conflicts 2021-01-18 15:48:28 +00:00
tox.ini Changed minversion in tox to 3.18.0 2021-06-07 16:41:34 +08:00

README.rst

Team and repository tags

image

oslo.policy

Latest Version

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