Gestion des permissions

This commit is contained in:
William Bouzourène 2025-01-03 16:13:41 +01:00
parent efd8912648
commit 420cfd5c9d
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
6 changed files with 211 additions and 2 deletions

View file

@ -16,7 +16,7 @@ type User struct {
SkipWelcome bool
}
type UserRoles struct {
type UserRole struct {
gorm.Model
UserID uint
User User