Skip to content

Commit

Permalink
Update Circulation permissions names
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-blazhko committed Dec 18, 2024
1 parent 148df7e commit ddec524
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 41 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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"
]
Expand All @@ -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"
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
39 changes: 20 additions & 19 deletions translations/ui-circulation/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ddec524

Please sign in to comment.