Multiple circulation-related permissions have UI name different from displayName
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
Checklist
hideActivity

Artem BlazhkoDecember 23, 2024 at 3:48 PM
Hello
In scope of I had to update permission display names from “Settings (Circ)“ to “Settings (Circulation)“. This work is not fully done, we need to wait for new translations. When we have all translations only “Settings (Circulation) …“ permissions will be used.
There is a list of all updated permissions:
"Settings (Circulation): display list of settings pages"
"Settings (Circulation): Can create, edit and remove cancellation reasons"
"Settings (Circulation): Can view loan history"
"Settings (Circulation): Can edit loan history"
"Settings (Circulation): Can view loan policies"
"Settings (Circulation): Can create, edit and remove loan policies"
"Settings (Circulation): Can create, edit and remove notice policies"
"Settings (Circulation): Can create, edit and remove loan policies [LEGACY]"
"Settings (Circulation): View circulation rules"
"Settings (Circulation): Can create, edit and remove circulation rules"
"Settings (Circulation): Can create, edit and remove fixed due date schedules"
"Settings (Circulation): Can create, edit and remove loan rules [LEGACY]"
"Settings (Circulation): Can edit staff slips"
"Settings (Circulation): Can create, edit and remove staff slips"
"Settings (Circulation): Can enable request print details"
"Settings (Circulation): Can create, edit and remove request policies"
"Settings (Circulation): Can create, edit and remove other settings"
"Settings (Circulation): Can create, edit and remove patron notice templates"
"Settings (Circulation): Can view overdue fine policies"
"Settings (Circulation): Can create, edit and remove overdue fine policies"
"Settings (Circulation): Can view lost item fee policies"
"Settings (Circulation): Can create, edit and remove lost item fee policies"
There is a link to my PR with appropriate changes.
Also, e2e tests should be updated accordingly with new permission names.
cc , ,

Anne EkbladDecember 23, 2024 at 3:15 PM
Not a bug. See comments.

Anne EkbladDecember 20, 2024 at 6:11 PM
Hi, , , and . I am acknowledging this bug. I cannot get into ECS Eureka Bugfest at this time to test to see if the capabilities are in list format and can be selected independently of using search. I’ll check on Monday and prioritize the bug accordingly ahead of our Refinement session.
Preconditions: Make sure default locale (“American English“) is selected in “Settings” → “Tenant” → “Language and localization“.
Steps to reproduce:
Log in as admin to Eureka environment
Go to “Settings” → “Developer” → “I can haz capabilities?”
Make sure “
permissionDisplayName
" is selected in “Search by” dropdownEnter "Settings (Circ): Can create, edit and remove circulation rules" permission name into search box
Expected result: A capability and a capability set is found with permissionDisplayName = “Settings (Circ): Can create, edit and remove circulation rules”.
Actual result: Capabilities/sets are not found.
Additional info:
The issue is caused by the fact that the UI name and
displayName
are different for this permission. UI name is used by QAs on Okapi and specified in test cases.displayName
should be equal to it (at least for the default locale), and is used by QAs on Eureka in “Settings” → “Developer” → “I can haz capabilities?” to find capabilities/sets for a given permission.Other permissions with the same issue (UI name → displayName):
"Settings (Circ): Can create, edit and remove circulation rules" → Settings (Circulation): Can create, edit and remove circulation rules
"Settings (Circ): Can create, edit and remove patron notice templates" → Settings (Circulation): Can create, edit and remove patron notice templates
"Settings (Circ): Can create, edit and remove notice policies" → Settings (Circulation): Can create, edit and remove notice policies
"Settings (Circ): Can create, edit and remove other settings" → Settings (Circulation): Can create, edit and remove other settings
"Settings (Circ): Can create, edit and remove staff slips" → Settings (Circulation): Can create, edit and remove staff slips
"Settings (Circ): Can view overdue fine policies" → Settings (Circulation): Can view overdue fine policies
"Settings (Circ): Can create, edit and remove fixed due date schedules" → Settings (Circulation): Can create, edit and remove fixed due date schedules
"Settings (Circ): Can create, edit and remove cancellation reasons" → Settings (Circulation): Can create, edit and remove cancellation reasons
"Settings (Circ): Can create, edit and remove request policies" → Settings (Circulation): Can create, edit and remove request policies
"Settings (Circ): Can create, edit and remove overdue fine policies" → Settings (Circulation): Can create, edit and remove overdue fine policies
"Settings (Circ): Can create, edit and remove lost item fee policies" → Settings (Circulation): Can create, edit and remove lost item fee policies
"Settings (Circ): Can create, edit and remove loan policies [LEGACY]" → Settings (Circulation): Can create, edit and remove loan policies [LEGACY]