package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Functions

CheckAccessActor uses the current security policy to verify if an actor has access to the role.
CheckAccessHTTP uses the current security policy to verify if an actor in an http request has access to the role.
RegisterPolicy registers a security policy.
SendError is a convenience function that sends an ACL error as an HTTP response.

# Constants

This is a list of predefined roles.
This is a list of predefined roles.
This is a list of predefined roles.

# Structs

FallbackPolicy is the policy that's used if the requested policy cannot be found.

# Interfaces

Policy defines the interface that needs to be satisfied by ACL policy implementors.