roles
This commit is contained in:
parent
8c8cbfd7dd
commit
41d48bf60a
28 changed files with 434 additions and 7 deletions
10
auth/authmiddleware/const.go
Normal file
10
auth/authmiddleware/const.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package authmiddleware
|
||||
|
||||
type Permission uint8
|
||||
|
||||
const (
|
||||
PermAnonymous Permission = 1 << iota
|
||||
PermUser
|
||||
PermSupport
|
||||
PermSuperuser
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue