From ddec5243f13c3ed09635c480e86fce741c27f155 Mon Sep 17 00:00:00 2001 From: Artem_Blazhko Date: Wed, 18 Dec 2024 22:23:44 +0200 Subject: [PATCH] Update Circulation permissions names --- CHANGELOG.md | 1 + package.json | 44 ++++++++++++++--------------- translations/ui-circulation/en.json | 39 ++++++++++++------------- 3 files changed, 43 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83f86265..446bf9b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 10.1.0 IN PROGRESS * React v19: refactor away from default props for functional components. Refs UICIRC-1080. +* Update Circulation permissions names. UICIRC-1051. ## [10.0.1](https://github.com/folio-org/ui-circulation/tree/v10.0.1) (2024-12-04) [Full Changelog](https://github.com/folio-org/ui-circulation/compare/v10.0.0...v10.0.1) diff --git a/package.json b/package.json index 768a530e..df9c99a3 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "permissionSets": [ { "permissionName": "settings.circulation.enabled", - "displayName": "Settings (Circ): display list of settings pages", + "displayName": "Settings (Circulation): display list of settings pages", "subPermissions": [ "settings.enabled" ] @@ -62,7 +62,7 @@ }, { "permissionName": "ui-circulation.settings.cancellation-reasons", - "displayName": "Settings (Circ): Can create, edit and remove cancellation reasons", + "displayName": "Settings (Circulation): Can create, edit and remove cancellation reasons", "subPermissions": [ "ui-circulation.settings.view-cancellation-reasons", "circulation-storage.cancellation-reasons.item.post", @@ -74,7 +74,7 @@ }, { "permissionName": "ui-circulation.settings.loan-history", - "displayName": "Settings (Circ): Can view loan history", + "displayName": "Settings (Circulation): Can view loan history", "subPermissions": [ "configuration.entries.collection.get", "settings.circulation.enabled", @@ -84,7 +84,7 @@ }, { "permissionName": "ui-circulation.settings.edit-loan-history", - "displayName": "Settings (Circ): Can edit loan history", + "displayName": "Settings (Circulation): Can edit loan history", "subPermissions": [ "ui-circulation.settings.loan-history", "configuration.entries.item.post", @@ -94,7 +94,7 @@ }, { "permissionName": "ui-circulation.settings.view-loan-policies", - "displayName": "Settings (Circ): Can view loan policies", + "displayName": "Settings (Circulation): Can view loan policies", "subPermissions": [ "circulation.loans.collection.get", "circulation-storage.loan-policies.collection.get", @@ -109,7 +109,7 @@ }, { "permissionName": "ui-circulation.settings.loan-policies", - "displayName": "Settings (Circ): Can create, edit and remove loan policies", + "displayName": "Settings (Circulation): Can create, edit and remove loan policies", "subPermissions": [ "ui-circulation.settings.view-loan-policies", "circulation-storage.loan-policies.item.post", @@ -136,7 +136,7 @@ }, { "permissionName": "ui-circulation.settings.notice-policies", - "displayName": "Settings (Circ): Can create, edit and remove notice policies", + "displayName": "Settings (Circulation): Can create, edit and remove notice policies", "subPermissions": [ "ui-circulation.settings.view-notice-policies", "circulation-storage.patron-notice-policies.item.post", @@ -147,14 +147,14 @@ }, { "permissionName": "settings.loan-policies.all", - "displayName": "Settings (Circ): Can create, edit and remove loan policies [LEGACY]", + "displayName": "Settings (Circulation): Can create, edit and remove loan policies [LEGACY]", "subPermissions": [ "ui-circulation.settings.loan-policies" ] }, { "permissionName": "ui-circulation.settings.view-circulation-rules", - "displayName": "Settings (Circ): View circulation rules", + "displayName": "Settings (Circulation): View circulation rules", "subPermissions": [ "circulation-storage.circulation-rules.get", "circulation.rules.get", @@ -181,7 +181,7 @@ }, { "permissionName": "ui-circulation.settings.edit-circulation-rules", - "displayName": "Settings (Circ): Can create, edit and remove circulation rules", + "displayName": "Settings (Circulation): Can create, edit and remove circulation rules", "subPermissions": [ "ui-circulation.settings.view-circulation-rules", "circulation-storage.circulation-rules.put", @@ -203,7 +203,7 @@ }, { "permissionName": "ui-circulation.settings.fixed-due-date-schedules", - "displayName": "Settings (Circ): Can create, edit and remove fixed due date schedules", + "displayName": "Settings (Circulation): Can create, edit and remove fixed due date schedules", "subPermissions": [ "ui-circulation.settings.view-fixed-due-date-schedules", "circulation-storage.fixed-due-date-schedules.item.post", @@ -215,7 +215,7 @@ }, { "permissionName": "settings.loan-rules.all", - "displayName": "Settings (Circ): Can create, edit and remove loan rules [LEGACY]", + "displayName": "Settings (Circulation): Can create, edit and remove loan rules [LEGACY]", "subPermissions": [ "ui-circulation.settings.edit-circulation-rules" ] @@ -232,7 +232,7 @@ }, { "permissionName": "ui-circulation.settings.edit-staff-slips", - "displayName": "Settings (Circ): Can edit staff slips", + "displayName": "Settings (Circulation): Can edit staff slips", "subPermissions": [ "ui-circulation.settings.view-staff-slips", "circulation-storage.staff-slips.item.put" @@ -241,7 +241,7 @@ }, { "permissionName": "ui-circulation.settings.staff-slips", - "displayName": "Settings (Circ): Can create, edit and remove staff slips", + "displayName": "Settings (Circulation): Can create, edit and remove staff slips", "subPermissions": [ "ui-circulation.settings.edit-staff-slips", "configuration.entries.collection.get", @@ -253,7 +253,7 @@ }, { "permissionName": "ui-circulation.settings.request-print-details", - "displayName": "Settings (Circ): Can enable request print details", + "displayName": "Settings (Circulation): Can enable request print details", "subPermissions": [ "settings.circulation.enabled", "circulation.settings.collection.get", @@ -279,7 +279,7 @@ }, { "permissionName": "ui-circulation.settings.request-policies", - "displayName": "Settings (Circ): Can create, edit and remove request policies", + "displayName": "Settings (Circulation): Can create, edit and remove request policies", "subPermissions": [ "ui-circulation.settings.view-request-policies", "circulation-storage.request-policies.collection.delete", @@ -302,7 +302,7 @@ }, { "permissionName": "ui-circulation.settings.other-settings", - "displayName": "Settings (Circ): Can create, edit and remove other settings", + "displayName": "Settings (Circulation): Can create, edit and remove other settings", "subPermissions": [ "ui-circulation.settings.view-other-settings", "configuration.entries.item.post", @@ -324,7 +324,7 @@ }, { "permissionName": "ui-circulation.settings.notice-templates", - "displayName": "Settings (Circ): Can create, edit and remove patron notice templates", + "displayName": "Settings (Circulation): Can create, edit and remove patron notice templates", "subPermissions": [ "ui-circulation.settings.view-notice-templates", "templates.item.post", @@ -336,7 +336,7 @@ }, { "permissionName": "ui-circulation.settings.view-overdue-fines-policies", - "displayName": "Settings (Circ): Can view overdue fine policies", + "displayName": "Settings (Circulation): Can view overdue fine policies", "subPermissions": [ "circulation.loans.collection.get", "manual-block-templates.collection.get", @@ -351,7 +351,7 @@ }, { "permissionName": "ui-circulation.settings.overdue-fines-policies", - "displayName": "Settings (Circ): Can create, edit and remove overdue fine policies", + "displayName": "Settings (Circulation): Can create, edit and remove overdue fine policies", "subPermissions": [ "ui-circulation.settings.view-overdue-fines-policies", "overdue-fines-policies.item.post", @@ -362,7 +362,7 @@ }, { "permissionName": "ui-circulation.settings.view-lost-item-fees-policies", - "displayName": "Settings (Circ): Can view lost item fee policies", + "displayName": "Settings (Circulation): Can view lost item fee policies", "subPermissions": [ "circulation.loans.collection.get", "lost-item-fees-policies.collection.get", @@ -375,7 +375,7 @@ }, { "permissionName": "ui-circulation.settings.lost-item-fees-policies", - "displayName": "Settings (Circ): Can create, edit and remove lost item fee policies", + "displayName": "Settings (Circulation): Can create, edit and remove lost item fee policies", "subPermissions": [ "ui-circulation.settings.view-lost-item-fees-policies", "lost-item-fees-policies.item.post", diff --git a/translations/ui-circulation/en.json b/translations/ui-circulation/en.json index 83d4d7df..d7e3fdc3 100644 --- a/translations/ui-circulation/en.json +++ b/translations/ui-circulation/en.json @@ -559,26 +559,27 @@ "settings.noticePolicy.feeFineNotices.atl.fineCharged": "Lost item fee(s) charged", "settings.noticePolicy.feeFineNotices.atl.itemReturned": "Lost item returned - fee(s) adjusted", - "permission.settings.cancellation-reasons": "Settings (Circ): Can create, edit and remove cancellation reasons", - "permission.settings.loan-history": "Settings (Circ): Can view loan history", - "permission.settings.view-loan-policies": "Settings (Circ): Can view loan policies", - "permission.settings.loan-policies": "Settings (Circ): Can create, edit and remove loan policies", - "permission.settings.notice-policies": "Settings (Circ): Can create, edit and remove notice policies", - "permission.settings.circulation-rules": "Settings (Circ): Can create, edit and remove circulation rules [LEGACY]", - "permission.settings.view-circulation-rules": "Settings (Circ): View circulation rules", - "permission.settings.edit-circulation-rules": "Settings (Circ): Can create, edit and remove circulation rules", - "permission.settings.fixed-due-date-schedules": "Settings (Circ): Can create, edit and remove fixed due date schedules", + "permission.settings.cancellation-reasons": "Settings (Circulation): Can create, edit and remove cancellation reasons", + "permission.settings.loan-history": "Settings (Circulation): Can view loan history", + "permission.settings.edit-loan-history": "Settings (Circulation): Can edit loan history", + "permission.settings.view-loan-policies": "Settings (Circulation): Can view loan policies", + "permission.settings.loan-policies": "Settings (Circulation): Can create, edit and remove loan policies", + "permission.settings.notice-policies": "Settings (Circulation): Can create, edit and remove notice policies", + "permission.settings.circulation-rules": "Settings (Circulation): Can create, edit and remove circulation rules [LEGACY]", + "permission.settings.view-circulation-rules": "Settings (Circulation): View circulation rules", + "permission.settings.edit-circulation-rules": "Settings (Circulation): Can create, edit and remove circulation rules", + "permission.settings.fixed-due-date-schedules": "Settings (Circulation): Can create, edit and remove fixed due date schedules", "permission.settings.view-staff-slips": "Settings (Circulation): Can view staff slips", - "permission.settings.edit-staff-slips": "Settings (Circ): Can edit staff slips", - "permission.settings.staff-slips": "Settings (Circ): Can create, edit and remove staff slips", - "permission.settings.request-print-details": "Settings (Circ): Can enable request print details", - "permission.settings.request-policies": "Settings (Circ): Can create, edit and remove request policies", - "permission.settings.other-settings": "Settings (Circ): Can create, edit and remove other settings", - "permission.settings.notice-templates": "Settings (Circ): Can create, edit and remove patron notice templates", - "permission.settings.overdue-fines-policies": "Settings (Circ): Can create, edit and remove overdue fine policies", - "permission.settings.lost-item-fees-policies": "Settings (Circ): Can create, edit and remove lost item fee policies", - "permission.settings.view-overdue-fines-policies": "Settings (Circ): Can view overdue fine policies", - "permission.settings.view-lost-item-fees-policies": "Settings (Circ): Can view lost item fee policies", + "permission.settings.edit-staff-slips": "Settings (Circulation): Can edit staff slips", + "permission.settings.staff-slips": "Settings (Circulation): Can create, edit and remove staff slips", + "permission.settings.request-print-details": "Settings (Circulation): Can enable request print details", + "permission.settings.request-policies": "Settings (Circulation): Can create, edit and remove request policies", + "permission.settings.other-settings": "Settings (Circulation): Can create, edit and remove other settings", + "permission.settings.notice-templates": "Settings (Circulation): Can create, edit and remove patron notice templates", + "permission.settings.overdue-fines-policies": "Settings (Circulation): Can create, edit and remove overdue fine policies", + "permission.settings.lost-item-fees-policies": "Settings (Circulation): Can create, edit and remove lost item fee policies", + "permission.settings.view-overdue-fines-policies": "Settings (Circulation): Can view overdue fine policies", + "permission.settings.view-lost-item-fees-policies": "Settings (Circulation): Can view lost item fee policies", "permission.settings.view-titleLevelRequests": "Settings (Circulation): Title level request view", "permission.settings.titleLevelRequests": "Settings (Circulation): Title level request edit", "permission.settings.view-circulation-settings": "Settings (Circulation): Can view all circulation settings",