From ca27005b731a3eada6394b0deb0ebe8042f82b04 Mon Sep 17 00:00:00 2001 From: Gurleen Kaur <34331959+gurleenkaurbp@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:56:20 +0530 Subject: [PATCH] MODUAD-199 - pubsub permission changes. (#177) * pubsub permission changes. * pubsub permission changes. * Changes related to audit.pub-sub-handlers.log-record-event.post * pubsub permission changes. * pubsub permission changes. --------- Co-authored-by: Taras_Spashchenko --- descriptors/ModuleDescriptor-template.json | 2 +- pom.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 9cadecb..35e260e 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -174,7 +174,7 @@ "methods": ["POST"], "pathPattern": "/audit/handlers/log-record", "permissionsRequired": [ - "pubsub.events.post" + "audit.pub-sub-handlers.log-record-event.post" ], "modulePermissions": [ "users.item.get", diff --git a/pom.xml b/pom.xml index f2b3d62..9d13818 100644 --- a/pom.xml +++ b/pom.xml @@ -29,6 +29,7 @@ ${project.basedir} UTF-8 UTF-8 + 1.0.1 @@ -182,6 +183,19 @@ + + org.folio + folio-module-descriptor-validator + ${folio-module-descriptor-validator.version} + false + + + + validate + + + +