Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
Authorizer always makes a yes/no decision on a specific resource. Which authorization technique is used in the background (e.g. RBAC, adminlist, ...) is hidden through this interface
func New ¶
func New(cfg config.Config) Authorizer
New Authorizer based on the application-wide config
type DummyAuthorizer ¶
type DummyAuthorizer struct{}
DummyAuthorizer is a pluggable Authorizor which can be used if no specific authorizor is configured. It will allow every authz decision, i.e. it is effectively the same as "no authorization at all"
Click to show internal directories.
Click to hide internal directories.