Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PermissionDenied = errors.New("permission denied")
Functions ¶
Types ¶
type ACLEngine ¶
type ACLEngine struct {
// contains filtered or unexported fields
}
func NewACLEngine ¶
func (*ACLEngine) CreateUser ¶
func (*ACLEngine) DeleteUser ¶
func (*ACLEngine) GetAllUsers ¶
func (*ACLEngine) SetPassword ¶
type Permission ¶
type Permission string
const PAdmin Permission = "admin"
const PChangePassword Permission = "acl.user.passwd"
const PCreateUser Permission = "acl.user.add"
const PDeleteUser Permission = "acl.user.del"
Click to show internal directories.
Click to hide internal directories.