
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
Team and repository tags
oslo.policy
The Oslo Policy library provides support for RBAC policy enforcement across all OpenStack services.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.policy
- Source: http://git.openstack.org/cgit/openstack/oslo.policy
- Bugs: http://bugs.launchpad.net/oslo.policy
Description
Languages
Python
100%