cc-backend/internal/auth
Christoph Kluge 834f9d9085 Add role helper functions, add project role barebone, add valid role arr
- 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
2023-01-25 16:59:16 +01:00
..
auth_test.go Change to HS256 as login token alg 2022-07-25 09:03:48 +02:00
auth.go Add role helper functions, add project role barebone, add valid role arr 2023-01-25 16:59:16 +01:00
jwt.go Accept externally generated JWTs provided via cookie 2022-10-19 13:36:13 +02:00
ldap.go Reformat and Refactor packages. Rebuild GraphQL. 2022-09-07 12:24:45 +02:00
local.go Reformat and Refactor packages. Rebuild GraphQL. 2022-09-07 12:24:45 +02:00
users.go Add role helper functions, add project role barebone, add valid role arr 2023-01-25 16:59:16 +01:00