permission

package
v2.52.4 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	// WriteShare is the hardcoded name for the Shares.Write permission
	WriteShare string = "Shares.Write"
	// GuestMailWrite is the hardcoded name for the Shares.GuestMailWrite permission
	GuestMailWrite string = "Shares.GuestMailWrite"
	// ListFavorites is the hardcoded name for the Favorites.List permission
	ListFavorites string = "Favorites.List"
	// WriteFavorites is the hardcoded name for the Favorites.Write permission
	WriteFavorites string = "Favorites.Write"
	// DeleteReadOnlyPassword is the hardcoded name for the ReadOnlyPublicLinkPassword.Delete permission
	DeleteReadOnlyPassword string = "ReadOnlyPublicLinkPassword.Delete"
)

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