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
2017-07-28 21:05:11 +00:00
2017-04-08 23:36:11 +08:00
2017-03-03 03:07:08 +00:00

Team and repository tags

image

oslo.policy

Latest Version

Downloads

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

Description
Rules engine to enforce access control policy
Readme 7 MiB
Languages
Python 100%