package
0.33.4
Repository: https://github.com/appuio/control-api.git
Documentation: pkg.go.dev

# Functions

AuthorizeResource checks if the given user is allowed to access the given resource, using SubjectAccessReviews.

# Structs

MOCK_SubjectAccessReviewResponder is a wrapper for client.WithWatch that responds to SubjectAccessReview create requests and allows or denies the request based on the AllowedUser name.
ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface.