From 5f51e8b725918f7997f3e45ab6b5c957646d3d88 Mon Sep 17 00:00:00 2001 From: Taras_Spashchenko Date: Tue, 5 Nov 2024 11:17:53 +0100 Subject: [PATCH] Changes related to audit.pub-sub-handlers.log-record-event.post --- descriptors/ModuleDescriptor-template.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 041d17f..d403b4b 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -189,6 +189,7 @@ "methods": ["POST"], "pathPattern": "/audit/handlers/log-record", "permissionsRequired": [ + "audit.pub-sub-handlers.log-record-event.post" ], "modulePermissions": [ "users.item.get", @@ -197,8 +198,7 @@ "inventory.items.item.get", "inventory-storage.holdings.item.get", "circulation-storage.cancellation-reasons.collection.get", - "circulation-item.item.get", - "audit.pub-sub-handlers.log-record-event.post" + "circulation-item.item.get" ] } ] @@ -284,6 +284,11 @@ "displayName": "Acquisition invoice events - get invoice change events", "description": "Get invoice change events" }, + { + "permissionName": "audit.pub-sub-handlers.log-record-event.post", + "displayName" : "log record events from pub-sub", + "description" : "log record events received from pub-sub" + }, { "permissionName": "audit.all", "displayName": "Audit - all permissions",