Rules engine to enforce access control policy
Go to file
Mateusz Kowalski 909a1ea3a7 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>
2018-07-18 19:40:15 +00:00
doc/source Merge "switch from oslosphinx to openstackdocstheme" 2017-07-05 14:20:15 +00:00
oslo_policy Avoid redundant policy syntax checks 2018-07-18 19:40:15 +00:00
releasenotes Avoid redundant policy syntax checks 2018-07-18 19:40:15 +00:00
sample_data Add oslopolicy-checker command-line tool 2016-01-12 15:44:03 -06:00
tools Add Constraints support 2016-12-20 14:34:04 +11: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 exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03: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-09-11 21:28:23 +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 2017-09-20 16:23:09 +00:00
tox.ini Remove references to Python 3.4 2017-01-09 10:17:01 -08: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.