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.
Click to show internal directories.
Click to hide internal directories.