Gestion des rôles

This commit is contained in:
William Bouzourène 2025-01-02 15:29:55 +01:00
parent e756149104
commit fa3aa49419
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
6 changed files with 725 additions and 8 deletions

View file

@ -4,12 +4,23 @@ import "gorm.io/gorm"
type Role struct {
gorm.Model
Name string
ShowPerson bool
CreatePerson bool
EditPerson bool
ShowArchivedPerson bool
ArchivePerson bool
RestorePerson bool
ExportData bool
Name string
ShowMember bool
CreateMember bool
EditMember bool
ShowArchivedMember bool
ArchiveMember bool
RestoreMember bool
PurgeMember bool
ConvertMemberToContact bool
ExportMember bool
ShowContact bool
CreateContact bool
EditContact bool
ShowArchivedContact bool
ArchiveContact bool
RestoreContact bool
PurgeContact bool
ConvertContactToMember bool
ExportContact bool
}