added more functionality
This commit is contained in:
13
models/permissions.go
Normal file
13
models/permissions.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type Permission int
|
||||
|
||||
const (
|
||||
Start Permission = 1 << iota
|
||||
Stop
|
||||
Browse
|
||||
Create
|
||||
Delete
|
||||
RunCommand
|
||||
Admin
|
||||
)
|
||||
Reference in New Issue
Block a user