adminrole

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanScopePrivlige

func CanScopePrivlige(v map[string]interface{}, privilegeType, target string) bool

Types

type RoleScope

type RoleScope struct {
	Name          string `json:"name"`
	Scopable      bool   `json:"scopable"`
	ScopableByIdp bool   `json:"scopableByIdp"`
}

func (*RoleScope) CanUseScope

func (r *RoleScope) CanUseScope() bool

Jump to

Keyboard shortcuts

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