roles

package
v0.0.0-...-b9171e1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuperAdmin = "super_admin"
	OrgAdmin   = "org_admin"
	Any        = "any"
	User       = "user"
	Admin      = "admin"
	Self       = "self"
)

Variables

This section is empty.

Functions

func CheckRoles

func CheckRoles(requiredRoles []string, grantedRoles []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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