model

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

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

Go to latest
Published: Dec 17, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjectTypeCRUD = "CRUD"
	ObjectTypeRW   = "RW"
)
View Source
const (
	PermissionCreate = "create"
	PermissionRead   = "read"
	PermissionUpdate = "update"
	PermissionDelete = "delete"
	PermissionCan    = "can"
)

available permissions

View Source
const (
	PermissionBitmaskCreate = 8 // 0b1000
	PermissionBitmaskRead   = 4 // 0b0100
	PermissionBitmaskUpdate = 2 // 0b0010
	PermissionBitmaskDelete = 1 // 0b0001
	PermissionBitmaskCan    = 1 // 0b0001
)

bitmasks of available permissions

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