2023-01-13 17:17:17 +01:00
|
|
|
package models
|
|
|
|
|
|
|
|
type PermissionSet struct {
|
2023-04-21 21:45:16 +02:00
|
|
|
Token *KeyToken // KeyToken.Permissions
|
2023-01-13 17:17:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewEmptyPermissions() PermissionSet {
|
|
|
|
return PermissionSet{
|
2023-04-21 21:45:16 +02:00
|
|
|
Token: nil,
|
2023-01-13 17:17:17 +01:00
|
|
|
}
|
|
|
|
}
|