rbacscope

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 49

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