Versions in this module Expand all Collapse all v1 v1.5.0 Jan 30, 2026 Changes in this version + type Action string + const ActionAdmin + const ActionAny + const ActionFetch + const ActionGroupAdmin + const ActionGroupRead + const ActionGroupWrite + const ActionProduce + type Authorizer struct + func NewAuthorizer(cfg Config) *Authorizer + func (a *Authorizer) Allows(principal string, action Action, resource Resource, name string) bool + func (a *Authorizer) Enabled() bool + type Config struct + DefaultPolicy string + Enabled bool + Principals []PrincipalRules + type PrincipalRules struct + Allow []Rule + Deny []Rule + Name string + type Resource string + const ResourceAny + const ResourceCluster + const ResourceGroup + const ResourceTopic + type Rule struct + Action Action + Name string + Resource Resource