diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c930368..a2facfd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,8 @@ * [UIQM-711](https://issues.folio.org/browse/UIQM-711) Update `validateFixedFieldPositions` to display all 008 field errors instead of one in Bibliographic records. * [UIQM-712](https://issues.folio.org/browse/UIQM-712) In field 007 for Projected Graphic type: change the `MfS` field type to `Byte` to allow only 1 character to be entered. * [UIQM-715](https://issues.folio.org/browse/UIQM-715) Reuse existing ids for fields after saving a record to avoid re-rendering and be able to focus on a field by ref. -* [UIQM-724](https://issues.folio.org/browse/UIQM-724) Do not group together subfields during linking. +* [UIQM-723](https://issues.folio.org/browse/UIQM-723) Rename permissions. +* * [UIQM-724](https://issues.folio.org/browse/UIQM-724) Do not group together subfields during linking. ## [8.0.1] (https://github.com/folio-org/ui-quick-marc/tree/v8.0.1) (2024-04-18) diff --git a/package.json b/package.json index 1f7355c0..0aecec82 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "marc-records-editor.status.item.get", "marc-specifications.item.get", "mod-settings.entries.collection.get", - "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "marc-records-editor.validate.post" ], "visible": true @@ -62,7 +62,7 @@ "instance-authority-links.instances.collection.put", "marc-specifications.item.get", "mod-settings.entries.collection.get", - "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "marc-records-editor.validate.post" ], "visible": true @@ -99,8 +99,9 @@ "visible": true }, { - "permissionName": "ui-quick-marc.quick-marc-editor.duplicate", + "permissionName": "ui-quick-marc.quick-marc-editor.derive.execute", "displayName": "quickMARC: Derive new MARC bibliographic record", + "replaces": ["ui-quick-marc.quick-marc-editor.duplicate"], "subPermissions": [ "ui-quick-marc.quick-marc-editor.view", "marc-records-editor.status.item.get", @@ -110,7 +111,7 @@ "instance-authority-links.instances.collection.put", "marc-specifications.item.get", "mod-settings.entries.collection.get", - "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "marc-records-editor.validate.post" ], "visible": true @@ -127,7 +128,7 @@ "marc-records-editor.status.item.get", "marc-specifications.item.get", "mod-settings.entries.collection.get", - "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "marc-records-editor.validate.post" ], "visible": true @@ -142,14 +143,15 @@ "marc-specifications.item.get", "search.authorities.collection.get", "mod-settings.entries.collection.get", - "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "marc-records-editor.validate.post" ], "visible": true }, { - "permissionName": "ui-quick-marc.quick-marc-authority-records.linkUnlink", + "permissionName": "ui-quick-marc.quick-marc-authority-records.link-unlink.execute", "displayName": "quickMARC: Can Link/unlink authority records to bib records", + "replaces": ["ui-quick-marc.quick-marc-authority-records.linkUnlink"], "subPermissions": [ "instance-authority.linking-rules.collection.get", "inventory-storage.authority-source-files.collection.get", @@ -162,20 +164,20 @@ "displayName": "Edit, View: Enable duplicate LCCN (010 $a) checking of MARC bibliographic and authority records", "subPermissions": [ "mod-settings.entries.collection.get", - "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "mod-settings.entries.item.post", "mod-settings.entries.item.put", - "mod-settings.global.write.ui-quick-marc.lccn-duplicate-check" + "mod-settings.global.write.ui-quick-marc.lccn-duplicate-check.manage" ], "visible": false }, { - "permissionName": "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check", + "permissionName": "mod-settings.global.read.ui-quick-marc.lccn-duplicate-check.manage", "displayName": "Settings (MARC): read LCCN duplicate check settings", "visible": false }, { - "permissionName": "mod-settings.global.write.ui-quick-marc.lccn-duplicate-check", + "permissionName": "mod-settings.global.write.ui-quick-marc.lccn-duplicate-check.manage", "displayName": "Settings (MARC): write LCCN duplicate check settings", "visible": false } diff --git a/src/QuickMarc.js b/src/QuickMarc.js index ea06064a..060220a8 100644 --- a/src/QuickMarc.js +++ b/src/QuickMarc.js @@ -36,7 +36,7 @@ const QuickMarc = ({ }, { path: `${basePath}/duplicate-bib/:externalId`, - permission: 'ui-quick-marc.quick-marc-editor.duplicate', + permission: 'ui-quick-marc.quick-marc-editor.derive.execute', props: { action: QUICK_MARC_ACTIONS.DERIVE, wrapper: QuickMarcDeriveWrapper, diff --git a/src/QuickMarcEditor/AutoLinkingButton/AutoLinkingButton.js b/src/QuickMarcEditor/AutoLinkingButton/AutoLinkingButton.js index ef3912ac..ec38f6fa 100644 --- a/src/QuickMarcEditor/AutoLinkingButton/AutoLinkingButton.js +++ b/src/QuickMarcEditor/AutoLinkingButton/AutoLinkingButton.js @@ -134,7 +134,7 @@ const AutoLinkingButton = ({ } return ( - +