Comment all new code
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Melody Becker 2025-04-02 15:33:07 +02:00
parent b6f12b7acf
commit 8f8ad3035a
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
33 changed files with 166 additions and 111 deletions

View file

@ -1,8 +1,9 @@
package models
// A link of one account to one role
// There may be multiple of these links per user and per role
// But a role may only be linked at most once to the same user
// Each user may have one or more roles
// (every user has the default role and their personal one)
// but each user to role combination may appear at most once
type UserToRole struct {
ID uint64 `gorm:"primarykey"`
User User