From f13ace965c775d3936852950306e9d78d7e23ea9 Mon Sep 17 00:00:00 2001 From: Christopher Hellen Date: Tue, 29 Oct 2024 17:02:26 -0500 Subject: [PATCH] corrected permissions changed in MODCAL-136 (#1504) --- descriptors/ModuleDescriptor-template.json | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 06fd6ce50e..590b2da834 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -1133,7 +1133,8 @@ "accounts.item.post", "feefineactions.item.post", "circulation-storage.loans-history.collection.get", - "calendar.endpoint.dates.get" + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get" ], "schedule": { "cron": "1 0 * * *", @@ -1773,7 +1774,8 @@ "proxiesfor.collection.get", "patron-notice.post", "configuration.entries.collection.get", - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "pubsub.publish.post", "circulation-storage.loans-history.collection.get" ], @@ -1784,7 +1786,8 @@ "displayName" : "module permissions for one op", "description" : "to reduce X-Okapi-Token size", "subPermissions": [ - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "circulation-storage.loans.item.post", "circulation-storage.loans.item.get", "circulation-storage.loans.collection.get", @@ -1881,7 +1884,8 @@ "accounts.refund.post", "accounts.cancel.post", "configuration.entries.collection.get", - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "actual-cost-record-storage.actual-cost-records.collection.get", "actual-cost-record-storage.actual-cost-records.item.get", "actual-cost-fee-fine-cancel.post", @@ -1917,7 +1921,8 @@ "users.collection.get", "addresstypes.collection.get", "proxiesfor.collection.get", - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "configuration.entries.collection.get", "scheduled-notice-storage.scheduled-notices.collection.delete", "scheduled-notice-storage.scheduled-notices.item.post", @@ -2099,7 +2104,8 @@ "usergroups.item.get", "proxiesfor.collection.get", "patron-notice.post", - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "scheduled-notice-storage.scheduled-notices.collection.delete", "scheduled-notice-storage.scheduled-notices.item.post", "configuration.entries.collection.get", @@ -2155,7 +2161,8 @@ "displayName": "module permissions for one op", "description": "to reduce X-Okapi-Token size", "subPermissions": [ - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "circulation-storage.loan-policies.item.get", "circulation-storage.loans.item.get", "circulation-storage.loans.item.put", @@ -2259,7 +2266,8 @@ "usergroups.item.get", "proxiesfor.collection.get", "patron-notice.post", - "calendar.endpoint.dates.get", + "calendar.endpoint.calendars.surroundingOpenings.get", + "calendar.endpoint.calendars.allOpenings.get", "configuration.entries.collection.get", "scheduled-notice-storage.scheduled-notices.collection.delete", "scheduled-notice-storage.scheduled-notices.item.post",