permission

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ListAllSpaces is the hardcoded name for the list all spaces permission
	ListAllSpaces string = "list-all-spaces"
	// CreateSpace is the hardcoded name for the create space permission
	CreateSpace string = "create-space"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	CheckPermission(permission string, subject string, ref *provider.Reference) bool
}

Manager defines the interface for the permission service driver

Directories

Path Synopsis
manager

Jump to

Keyboard shortcuts

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