package
1.20.0
Repository: https://github.com/artifacthub/hub.git
Documentation: pkg.go.dev

# Functions

AreActionsAllowed checks if a given list of actions are allowed checking against the list of allowed actions provided.
IsActionAllowed checks if a given action is allowed checking against the list of allowed actions provided.
IsPredefinedPolicyValid checks if the provided predefined policy is valid.
NewAuthorizer creates a new Authorizer instance.

# Constants

AllowedActionsQuery represents the authorization's policy query used to get the actions a given user is allowed to perform.

# Variables

AllowedActionsQueryRef represents a reference to AllowedActionsQuery.

# Structs

Authorizer is in charge of authorizing actions that users intend to perform.
AuthorizerMock is a mock implementation of the hub Authorizer interface.