Versions in this module Expand all Collapse all v2 v2.1.0 Nov 26, 2026 v2.0.1 Nov 20, 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 Other modules containing this package github.com/KafScale/platform