From 22a31127d16b1fd830504e4cfe341e151e7d4d75 Mon Sep 17 00:00:00 2001 From: Claudia Malzer Date: Mon, 25 Nov 2024 13:56:37 +0100 Subject: [PATCH] ERM-3441 Licenses cannot retrieve linked agreements due to permissions error * extend ModuleDescriptor --- service/src/main/okapi/ModuleDescriptor-template.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/service/src/main/okapi/ModuleDescriptor-template.json b/service/src/main/okapi/ModuleDescriptor-template.json index e757566..10c2396 100644 --- a/service/src/main/okapi/ModuleDescriptor-template.json +++ b/service/src/main/okapi/ModuleDescriptor-template.json @@ -44,7 +44,8 @@ ], "modulePermissions": [ "erm.agreements.item.get", - "erm.agreements.linkedLicenses.get" + "erm.linkedLicenses.collection.get", + "erm.agreements.linkedLicenses.collection.get" ] }, { @@ -83,7 +84,8 @@ "licenses.licenses.item.delete" ], "modulePermissions": [ - "erm.agreements.linkedLicenses.get" + "erm.linkedLicenses.collection.get", + "erm.agreements.linkedLicenses.collection.get" ] }, { @@ -140,7 +142,8 @@ "licenses.amendments.item.delete" ], "modulePermissions": [ - "erm.agreements.linkedLicenses.get" + "erm.linkedLicenses.collection.get", + "erm.agreements.linkedLicenses.collection.get" ] }, {