Documentation ¶
Index ¶
Constants ¶
View Source
const ( ScopeSystem = TRbacScope("system") ScopeDomain = TRbacScope("domain") ScopeProject = TRbacScope("project") // ScopeObject = "object" ScopeUser = TRbacScope("user") ScopeNone = TRbacScope("none") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TRbacScope ¶
type TRbacScope string
func String2Scope ¶
func String2Scope(str string) TRbacScope
func String2ScopeDefault ¶
func String2ScopeDefault(str string, defScope TRbacScope) TRbacScope
func (TRbacScope) HigherEqual ¶
func (s1 TRbacScope) HigherEqual(s2 TRbacScope) bool
func (TRbacScope) HigherThan ¶
func (s1 TRbacScope) HigherThan(s2 TRbacScope) bool
Click to show internal directories.
Click to hide internal directories.