cc-backend/internal/repository
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
..
dbConnection.go Add copyright and license header. Update license year 2022-07-29 06:29:21 +02:00
init.go Add test for import job handler. Improve error messages. 2022-09-23 15:23:45 +02:00
job_test.go Remove obsolete variable 2022-09-12 14:46:18 +02:00
job.go Add role helper functions, add project role barebone, add valid role arr 2023-01-25 16:59:16 +01:00
query.go Add role helper functions, add project role barebone, add valid role arr 2023-01-25 16:59:16 +01:00
tags.go Refactor package structure 2022-09-05 17:46:38 +02:00
user_test.go Cleanup. Fix failing test 2022-09-20 13:07:46 +02:00
user.go Refactor UserCfg, add test 2022-09-12 13:34:21 +02:00