Commit 14e2eef0 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

fix() : change route URI in configuration and SQL to prevent error on periodic integrity Check

parent 6ce9d875
......@@ -552,7 +552,7 @@ servicePrivileges = "[
; 'description' : 'Chaîner le journal du cycle de vie'
; },
; {
; 'serviceURI': 'recordsmanagement/archivecompliance/readperiodic',
; 'serviceURI': 'recordsmanagement/archivecompliance/readPeriodic',
; 'description' : 'Valider l\'intégrité des archives'
; },
; {
......
......@@ -135,7 +135,7 @@ INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES
('System', 'audit/event/createChainjournal'),
('System', 'batchProcessing/scheduling/updateProcess'),
('System', 'lifeCycle/journal/createChainjournal'),
('System', 'recordsmanagement/archivecompliance/readperiodic'),
('System', 'recordsmanagement/archivecompliance/readPeriodic'),
('System', 'recordsManagement/archives/deleteDisposablearchives'),
('System', 'recordsManagement/archives/updateArchivesretentionrule'),
('System', 'recordsManagement/archives/updateIndexfulltext')
......
......@@ -30,3 +30,5 @@ ALTER TABLE "recordsManagement"."archivalProfile" ADD COLUMN "isDiscoverable" bo
INSERT INTO "lifeCycle"."eventFormat" ("type","format","message","notification") VALUES
('medona/authorization', 'type senderOrgRegNumber senderOrgName recipientOrgRegNumber recipientOrgName reference', 'Traitement du message %14$s de type %9$s de %11$s (%10$s) par %13$s (%12$s)', false);
UPDATE "auth"."servicePrivilege" SET "serviceURI" = 'recordsManagement/archiveCompliance/readPeriodic' WHERE "serviceURI" = 'recordsmanagement/archivecompliance/readperiodic';
......@@ -1425,7 +1425,7 @@ INSERT INTO auth."roleMember" ("roleId", "userAccountId") VALUES ('UTILISATEUR',
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'audit/event/createChainjournal');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'batchProcessing/scheduling/updateProcess');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'lifeCycle/journal/createChainjournal');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'recordsmanagement/archivecompliance/readperiodic');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'recordsmanagement/archivecompliance/readPeriodic');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'recordsManagement/archives/deleteDisposablearchives');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'recordsManagement/archives/updateArchivesretentionrule');
INSERT INTO auth."servicePrivilege" ("accountId", "serviceURI") VALUES ('System', 'recordsManagement/archives/updateIndexfulltext');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment