privilegecode

package
v0.0.0-...-8bc9508 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package privilegecode contains, well, privilege codes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum int

Enum contains privilege codes and must be in sync with tprivilegekind table (../../sql/privilege.sql)

const (
	// Login ...
	Login Enum = iota + 1
	// ManageAccess = Manage access ...
	ManageAccess
	// EditLanguageAttributes = Edit language attributes
	EditLanguageAttributes
	// AcceptOrDeclineChangeRequests = Accept/decline change requests
	AcceptOrDeclineChangeRequests
)

func (Enum) String

func (i Enum) String() string

Jump to

Keyboard shortcuts

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