Andrew Laski 74c2a42a92 Add optional exception for check_rules
Rather than checking for a True/False return from check_rules some
consumers may want it to raise an exception instead. This adds a
parameter, defaulting to False, which will cause check_rules to raise an
exception if set to True and a rule violation is found.

Co-Authored-By: ChangBo Guo(gcb) <eric.guo@easystack.cn>
Change-Id: Ie69bbc7081e84d019b85b62a45589ed331cc1f15
2017-01-18 15:09:50 +00:00
2016-11-01 14:32:01 +08:00
2016-12-20 14:34:04 +11:00
2015-02-17 00:37:33 +00:00
2016-11-25 13:22:05 +01:00
2017-01-09 10:17:01 -08:00
2015-09-17 12:16:08 +00:00
2017-01-09 10:17:01 -08: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 6.6 MiB
Languages
Python 100%