Gestion des rôles
This commit is contained in:
parent
9efdf085f3
commit
9da9cd4f61
6 changed files with 725 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue