This module implements an abstract class that is implemented by the classes below. Each implementation is used by the RBAC Rule Validation Module framework to determine each expected test result.
The default RbacAuthority
implementation class which is used for policy validation. Uses oslo.policy
to determine the expected test result.
All Patrole Zuul gates use this
RbacAuthority
class by default.
Optional RbacAuthority
implementation class which is used for policy validation. It uses a high-level
requirements-driven approach to validating RBAC in Patrole.
Class for validating whether a given role can perform a policy action.
Any class that extends RbacAuthority
provides the logic for determining
whether a role has permissions to execute a policy action.
Determine whether the role should be able to perform the API.
Parameters: |
|
---|---|
Returns: | True if the |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.