perm

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoleAdmin = "admin"
	RoleUser  = "user"
	RoleDemo  = "demo"
)
View Source
const (
	ReadUpdates author.Permission = iota
	ReadSearch
	ReadOwned
	ReadProductData
	ReadImages
	ReadFiles
	ReadWishlist
	WriteWishlist
	ReadTagId
	WriteTagId
	ReadLocalTags
	WriteLocalTags
	ReadApi
	ReadDebug
	ReadLogs
)

Variables

This section is empty.

Functions

func GetRolesPermissions

func GetRolesPermissions() map[string][]author.Permission

Types

This section is empty.

Jump to

Keyboard shortcuts

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