Policy Engine For Cinder
Whether or not user is admin according to policy setting.
Verifies that the action is valid on the target in this context.
Parameters: |
|
---|---|
Raises PolicyNotAuthorized: | |
if verification fails. |
Checks that the action can be done by the given context.
Applies a check to ensure the context’s project_id and user_id can be applied to the given action using the policy enforcement api.