package
0.2.9
Repository: https://github.com/gaia-pipeline/gaia.git
Documentation: pkg.go.dev

# Functions

LoadAPILookup loads our yaml based RBACApiMappings and transforms them into a quicker lookup map.
LoadModel loads the rbac model string from the assethelper and parses it into a Casbin model.Model.
NewEnforcerSvc creates a new EnforcerService.
NewErrPermissionDenied creates a new ErrPermissionDenied.
NewNoOpService is used to instantiated a noOpService for when rbac enabled=false.

# Structs

ErrPermissionDenied is for when the RBAC enforcement check fails.

# Interfaces

EndpointEnforcer represents the interface for enforcing RBAC using the echo.Context.

# Type aliases