privilege

package
v0.0.0-...-3301e3d Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PrivilegeLvlReader gives the bearer read-only
	// access to a resource
	PrivilegeLvlReader = Level(0)

	// PrivilegeLvlEditor gives the bearer edit
	// access to a resource, including the ability
	// to add and remove readers
	PrivilegeLvlEditor = Level(1)

	// PrivilegeLvlOwner gives the bearer full
	// access to a resource, including the ability
	// to add and remove other users' access
	PrivilegeLvlOwner = Level(2)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int

Level represents the level of privilege that a Padl user has over a given resource

Jump to

Keyboard shortcuts

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