From a3326a58ffbf42ecd1690ae4f8a42b832be47012 Mon Sep 17 00:00:00 2001 From: Mariia_Aloshyna Date: Fri, 18 Oct 2024 19:01:50 +0300 Subject: [PATCH] UIMARCAUTH-430: Refactor ui-inventory permissions --- CHANGELOG.md | 1 + src/views/AuthoritiesSearch/ReportsMenu/ReportsMenu.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26307143..f633e5d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - [UIMARCAUTH-413](https://issues.folio.org/browse/UIMARCAUTH-413) Move `quick-marc` to optional dependencies. - [UIMARCAUTH-428](https://issues.folio.org/browse/UIMARCAUTH-428) *BREAKING* Upgrade `marc-records-editor` to `6.0`. - [UIMARCAUTH-429](https://folio-org.atlassian.net/browse/UIMARCAUTH-429) *BREAKING* Upgrade `source-record-storage` to `3.3` +- [UIMARCAUTH-430](https://folio-org.atlassian.net/browse/UIMARCAUTH-430) Refactor ui-inventory permissions. ## [5.0.1](https://github.com/folio-org/ui-marc-authorities/tree/v5.0.1) (2024-04-02) diff --git a/src/views/AuthoritiesSearch/ReportsMenu/ReportsMenu.js b/src/views/AuthoritiesSearch/ReportsMenu/ReportsMenu.js index 2c1cec97..edf1588b 100644 --- a/src/views/AuthoritiesSearch/ReportsMenu/ReportsMenu.js +++ b/src/views/AuthoritiesSearch/ReportsMenu/ReportsMenu.js @@ -24,7 +24,7 @@ const ReportsMenu = ({ const showReports = stripes.hasPerm('ui-marc-authorities.authority-record.view') && stripes.hasPerm('ui-quick-marc.quick-marc-authorities-editor.all') && - stripes.hasPerm('ui-inventory.all-permissions.TEMPORARY') && + stripes.hasPerm('ui-inventory.all') && stripes.hasPerm('ui-quick-marc.quick-marc-editor.view') && stripes.hasPerm('ui-export-manager.jobs.downloadAndResend.execute');