Fix trust center permissions

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-11-27 16:37:27 +01:00
parent ef61907b8a
commit 4e67bba5a9

View File

@@ -605,6 +605,7 @@ var Permissions = map[uint16]map[Action][]Role{
ActionGetOrganization: AllRoles,
ActionGetSnapshot: AllRoles,
ActionDownloadUrl: AllRoles,
ActionAudit: AllRoles,
},
coredata.NonconformityEntityType: {
ActionGet: AllRoles,
@@ -669,8 +670,9 @@ var Permissions = map[uint16]map[Action][]Role{
},
coredata.TrustCenterDocumentAccessEntityType: {
ActionGet: AllRoles,
ActionReport: AllRoles,
ActionTrustCenterFile: AllRoles,
ActionDocument: {RoleOwner, RoleAdmin},
ActionReport: {RoleOwner, RoleAdmin},
ActionTrustCenterFile: {RoleOwner, RoleAdmin},
},
coredata.MeetingEntityType: {
ActionGet: AllRoles,