From 66c26789dee4d22be2b9c9c2c8bb405c845041a7 Mon Sep 17 00:00:00 2001 From: UladzislauKutarkin <72550466+UladzislauKutarkin@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:38:47 +0400 Subject: [PATCH] UITEN-269: User without "Settings (tenant): Can maintain preferred plugins" permission can edit preferred plugins. (#379) --- CHANGELOG.md | 1 + src/settings/Plugins/Plugins.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fbcaa4..1ba9479e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 8.0.1 (IN PROGRESS) * [UITEN-266](https://issues.folio.org/browse/UITEN-266) No longer displays non-working inventory-related pages when the inventory interfaces are not present. +* [UITEN-269](https://issues.folio.org/browse/UITEN-269) User without "Settings (tenant): Can maintain preferred plugins" permission can edit preferred plugins. ## [8.0.0](https://github.com/folio-org/ui-tenant-settings/tree/v8.0.0)(2023-10-13) [Full Changelog](https://github.com/folio-org/ui-tenant-settings/compare/v7.4.0...v8.0.0) diff --git a/src/settings/Plugins/Plugins.js b/src/settings/Plugins/Plugins.js index ca070e48..62673216 100644 --- a/src/settings/Plugins/Plugins.js +++ b/src/settings/Plugins/Plugins.js @@ -109,7 +109,7 @@ class Plugins extends React.Component { render() { const plugins = this.getPlugins(); - const isReadOnly = !this.props.stripes.hasPerm('ui-tenant-settings.settings.sso'); + const isReadOnly = !this.props.stripes.hasPerm('ui-tenant-settings.settings.plugins'); return (