Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Opers []Oper
}
Handler is a PermissionHandler that checks for opers and oper names
func (*Handler) IsAuthorised ¶
IsAuthorised implements Handler.IsAuthorized. It checks against the users oper name and nothing else. Configured oper names are globbed.
Click to show internal directories.
Click to hide internal directories.