keystone.common.rbac_enforcer.enforcer.
RBACEnforcer
[source]¶Bases: object
Enforce RBAC on API calls.
ACTION_STORE_ATTR
= 'keystone:RBAC:action_name'¶enforce_call
(enforcer=None, action=None, target_attr=None, member_target_type=None, member_target=None, filters=None, build_target=None)[source]¶Enforce RBAC on the current request.
This will do some legwork and then instantiate the Enforcer if an enforcer is not passed in.
Parameters: |
|
---|
policy_enforcer_action
(action)[source]¶Decorator to set policy enforcement action name.
suppress_deprecation_warnings
= False¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.