Multiple circulation-related permissions have UI name different from displayName

Description

Preconditions: Make sure default locale (“American English“) is selected in “Settings” → “Tenant” → “Language and localization“.

Steps to reproduce:

  1. Log in as admin to Eureka environment

  2. Go to “Settings” → “Developer” → “I can haz capabilities?”

  3. Make sure “permissionDisplayName" is selected in “Search by” dropdown

  4. Enter "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]

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

Activity

Show:

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.

Won't Do

Details

Assignee

Reporter

Labels

Priority

Development Team

Vega

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 20, 2024 at 1:09 PM
Updated December 23, 2024 at 3:48 PM
Resolved December 23, 2024 at 3:15 PM
TestRail: Cases
TestRail: Runs