Rules engine to enforce access control policy
Go to file
Mateusz Kowalski 3e38206001 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-20 11:32:55 +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-20 11:32:55 +00:00
releasenotes Avoid redundant policy syntax checks 2018-07-20 11:32:55 +00:00
sample_data Add oslopolicy-checker command-line tool 2016-01-12 15:44:03 -06:00
tools Fix sphinx-docs job for stable branch 2018-05-02 13:54:46 +02: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/pike 2017-07-28 21:05:11 +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-07-18 01:54:59 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
setup.py Updated from global requirements 2017-03-03 03:07:08 +00:00
test-requirements.txt Updated from global requirements 2017-08-11 19:04:11 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/pike 2017-07-28 21:05:12 +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.