rbacscope

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 23

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL