Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionEvaluator ¶
type PermissionEvaluator interface {
HasRole(auth *auth.Authentication, role auth.Role) bool
}
func NewPermissionEvaluator ¶
func NewPermissionEvaluator() PermissionEvaluator
type StaticRoleManager ¶
type StaticRoleManager struct {
PermissionEvaluator
}
func NewStaticRoleManager ¶
func NewStaticRoleManager() *StaticRoleManager
Click to show internal directories.
Click to hide internal directories.