Bases: object
Store a policy blob.
| Raises keystone.exception.Conflict: | |
|---|---|
| If a duplicate policy exists. | |
Remove a policy blob.
| Raises keystone.exception.PolicyNotFound: | |
|---|---|
| If the policy doesn’t exist. | |
Verify that a user is authorized to perform action.
For more information on a full implementation of this see: keystone.policy.backends.rules.Policy.enforce
Retrieve a specific policy blob.
| Raises keystone.exception.PolicyNotFound: | |
|---|---|
| If the policy doesn’t exist. | |
Update a policy blob.
| Raises keystone.exception.PolicyNotFound: | |
|---|---|
| If the policy doesn’t exist. | |
Policy engine for keystone.
Verify that the action is valid on the target in this context.
| Parameters: |
|
|---|---|
| Raises keystone.exception.Forbidden: | |
If verification fails. |
|
Actions should be colon separated for clarity. For example: