Rules engine to enforce access control policy
Go to file
Mateusz Kowalski 77d30c3b5e Avoid redundant policy syntax checks
Introduce a private variable inside Enforcer class to remember
status of the last policy syntax checks in order to avoid
redundant calls to the check_rules() method.

Having this flag makes the whole rules mechanism faster, as under
certain conditions check_rules() method was being executed
multiple times even when not needed.

Change-Id: Id3992fc0cb567451049a12ebdc6851e737573bb8
Closes-bug: #1723030
Co-Authored-By: Ben Nemec <bnemec@redhat.com>
(cherry picked from commit 909a1ea3a7)
2018-07-19 14:09:29 +00:00
doc/source Add scope_types to RuleDefault objects 2017-12-04 18:51:25 +00:00
oslo_policy Avoid redundant policy syntax checks 2018-07-19 14:09:29 +00:00
releasenotes Avoid redundant policy syntax checks 2018-07-19 14:09:29 +00:00
sample_data Add oslopolicy-checker command-line tool 2016-01-12 15:44:03 -06:00
.coveragerc Fix coverage configuration and execution 2015-10-01 15:39:58 +00:00
.gitignore move existing documentation into new standard layout 2017-06-28 16:46:38 -04:00
.gitreview Update .gitreview for stable/queens 2018-01-24 18:06:29 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
.testr.conf 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
README.rst Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
requirements.txt Updated from global requirements 2017-11-29 09:15:26 +00:00
setup.cfg http/https check rules as stevedore extensions 2017-10-05 08:40:47 -04:00
setup.py Updated from global requirements 2017-03-03 03:07:08 +00:00
test-requirements.txt Updated from global requirements 2018-02-13 01:58:21 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-01-24 18:06:32 +00:00

README.rst

Team and repository tags

image

oslo.policy

Latest Version

Downloads

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