e573cf1ad5
`oslo.policy` supports both enforce and authorize. authorize is stricter because it'll raise an exception if the policy action is not found in the list of registered rules. This means that attempting to enforce anything not found in ``armada.common.policies`` will error out with a 'Policy not registered' message and 403 status code. This problem manifests itself through such cases: [0] Please reference the oslo.policy docs on authorize [1] and enforce [2] to better understand the discrepancy between the two. [0] https://review.openstack.org/#/c/610117/1 [1] |
||
---|---|---|
.. | ||
api | ||
cli | ||
common | ||
handlers | ||
resources | ||
utils | ||
__init__.py | ||
base.py | ||
fake_policy.py | ||
fixtures.py |