mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
834f9d9085
- HasAnyRoles([]string): Checks if user has *one* of the roles - HasAllRoles([]string): Cheks if user has *all* of the roles - HasNotRoles([]string): Checks if user has *none* of the roles - IsValidRole(string): Checks if given string is known valid role |
||
---|---|---|
.. | ||
dbConnection.go | ||
init.go | ||
job_test.go | ||
job.go | ||
query.go | ||
tags.go | ||
user_test.go | ||
user.go |