Give administrator permission to ReadAll users
This commit is contained in:
parent
9f92be4bda
commit
fba85c7562
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -88,6 +88,7 @@ func main() {
|
|||
|
||||
conf.Handlers.Permissions = map[string]map[string][]int{
|
||||
"administrator": map[string][]int{
|
||||
"Users": []int{oef_handlers.PermissionCreate, oef_handlers.PermissionRead, oef_handlers.PermissionReadAll, oef_handlers.PermissionUpdate, oef_handlers.PermissionDelete},
|
||||
"Contest": []int{oef_handlers.PermissionCreate, oef_handlers.PermissionRead, oef_handlers.PermissionReadAll, oef_handlers.PermissionUpdate, oef_handlers.PermissionDelete},
|
||||
"Participant": []int{oef_handlers.PermissionCreate, oef_handlers.PermissionRead, oef_handlers.PermissionReadAll, oef_handlers.PermissionUpdate, oef_handlers.PermissionDelete},
|
||||
"School": []int{oef_handlers.PermissionCreate, oef_handlers.PermissionRead, oef_handlers.PermissionReadAll, oef_handlers.PermissionUpdate, oef_handlers.PermissionDelete},
|
||||
|
|
Loading…
Reference in a new issue