Policy Engine For Glance
Bases: oslo_policy.policy.Enforcer
Responsible for loading and enforcing rules
Verifies that the action is valid on the target in this context.
context – Glance request context
action – String representing the action to be checked
target – Dictionary representing the object of the action.
A non-False value if access is allowed.
Check if the given context is associated with an admin role, as defined via the ‘context_is_admin’ RBAC rule.
context – Glance request context
A non-False value if context role is admin.
Verifies that the action is valid on the target in this context.
context – Glance request context
action – String representing the action to be checked
target – Dictionary representing the object of the action.
glance.common.exception.Forbidden
A non-False value if access is allowed.
Bases: object
Bases: glance.domain.proxy.Repo
Bases: glance.domain.proxy.Image
Bases: glance.domain.proxy.Repo
Bases: collections.abc.Mapping
Bases: glance.domain.proxy.Task
Bases: glance.domain.proxy.TaskRepo
Bases: glance.domain.proxy.TaskStub
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.