roles

package
v0.0.0-...-851e7b8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Admin user is defined for admin, this role will allowed all CRUD request
	Admin int = 2
	// Author user
	// This role type should never be inserted into database
	// This filed just tell roles middleware check if data created by request user
	Author int = 0
	// Normal account
	// Anyone register a new account will be added into Normal groups
	Normal int = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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