From fe93fae46fc1a2058d9a6db02f1ef4a8df860a65 Mon Sep 17 00:00:00 2001 From: Dmitriy-Litvinenko Date: Mon, 13 Jan 2025 10:54:49 +0200 Subject: [PATCH] UIU-3309: Rename permission after BE changes --- CHANGELOG.md | 1 + package.json | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80c710d17..551c86dd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Remove duplicates from the keyboard shortcut modal. Refs UIU-3026. * React v19: refactor away from default props for functional components. Refs. UIU-3141. * Hide Create block button for user without permission. Refs UIU-3300. +* Rename permission after BE changes. Refs UIU-3309. ## [11.0.10](https://github.com/folio-org/ui-users/tree/v11.0.10) (2025-01-10) [Full Changelog](https://github.com/folio-org/ui-users/compare/v11.0.9...v11.0.10) diff --git a/package.json b/package.json index 99fcc93c5..11b747c9d 100644 --- a/package.json +++ b/package.json @@ -569,10 +569,10 @@ "comments.item.get", "payments.collection.get", "payments.item.get", - "feesfines.accounts.check-pay.item.post", - "feesfines.accounts-bulk.check-pay.item.post", - "feesfines.accounts.pay.item.post", - "feesfines.accounts-bulk.pay.item.post" + "feesfines.accounts.check-pay.post", + "feesfines.accounts-bulk.check-pay.post", + "feesfines.accounts.pay.post", + "feesfines.accounts-bulk.pay.post" ], "visible": true }, @@ -587,10 +587,10 @@ "comments.item.get", "waives.collection.get", "waives.item.get", - "feesfines.accounts.check-waive.item.post", - "feesfines.accounts-bulk.check-waive.item.post", - "feesfines.accounts.waive.item.post", - "feesfines.accounts-bulk.waive.item.post" + "feesfines.accounts.check-waive.post", + "feesfines.accounts-bulk.check-waive.post", + "feesfines.accounts.waive.post", + "feesfines.accounts-bulk.waive.post" ], "visible": true }, @@ -721,12 +721,12 @@ "ui-users.manual-waive.execute", "feesfines.accounts.check-transfer.post", "feesfines.accounts.check-refund.post", - "feesfines.accounts.transfer.item.post", - "feesfines.accounts-bulk.transfer.item.post", - "feesfines.accounts.cancel.item.post", - "feesfines.accounts-bulk.cancel.item.post", - "feesfines.accounts.refund.item.post", - "feesfines.accounts-bulk.refund.item.post", + "feesfines.accounts.transfer.post", + "feesfines.accounts-bulk.transfer.post", + "feesfines.accounts.cancel.post", + "feesfines.accounts-bulk.cancel.post", + "feesfines.accounts.refund.post", + "feesfines.accounts-bulk.refund.post", "circulation-storage.loans.item.get", "inventory.items.item.get" ], @@ -1007,8 +1007,8 @@ "displayName": "Users: Create and download Cash drawer reconciliation report", "replaces": ["ui-users.cashDrawerReport"], "subPermissions": [ - "feesfines.feefine-reports.cash-drawer-reconciliation.item.post", - "feesfines.feefine-reports.cash-drawer-reconciliation-source.item.post" + "feesfines.feefine-reports.cash-drawer-reconciliation.post", + "feesfines.feefine-reports.cash-drawer-reconciliation-source.post" ], "visible": true },