Documentation
¶
Index ¶
Constants ¶
View Source
const Admin = "admin"
View Source
const Editor = "editor"
View Source
const Nobody = "nobody"
View Source
const Viewer = "viewer"
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AdminRole ¶
type AdminRole struct{}
func (*AdminRole) DomainWrite ¶
func (*AdminRole) LinksWrite ¶
func (*AdminRole) UsersWrite ¶
type EditorRole ¶
type EditorRole struct{}
func (*EditorRole) DomainWrite ¶
func (role *EditorRole) DomainWrite() bool
func (*EditorRole) LinksWrite ¶
func (role *EditorRole) LinksWrite() bool
func (*EditorRole) UsersWrite ¶
func (role *EditorRole) UsersWrite() bool
type NobodyRole ¶
type NobodyRole struct{}
func (*NobodyRole) DomainWrite ¶
func (role *NobodyRole) DomainWrite() bool
func (*NobodyRole) LinksWrite ¶
func (role *NobodyRole) LinksWrite() bool
func (*NobodyRole) UsersWrite ¶
func (role *NobodyRole) UsersWrite() bool
type ViewerRole ¶
type ViewerRole struct{}
func (*ViewerRole) DomainWrite ¶
func (role *ViewerRole) DomainWrite() bool
func (*ViewerRole) LinksWrite ¶
func (role *ViewerRole) LinksWrite() bool
func (*ViewerRole) UsersWrite ¶
func (role *ViewerRole) UsersWrite() bool
Click to show internal directories.
Click to hide internal directories.