permission

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 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 = "Drives.List"
	// CreateSpace is the hardcoded name for the create space permission
	CreateSpace string = "Drives.Create"
	// WritePublicLink is the hardcoded name for the PublicLink.Write permission
	WritePublicLink string = "PublicLink.Write"
)

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