Cannot Reproduce
Details
Details
Assignee
Unassigned
UnassignedReporter
Yauhen Viazau
Yauhen ViazauDevelopment Team
Eureka
RCA Group
Not a bug anymore
Story Points
0
Sprint
None
Priority
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created September 6, 2024 at 11:02 AM
Updated October 25, 2024 at 12:34 PM
Resolved October 25, 2024 at 12:34 PM
Overview:
In FOLIO, the following permissions allow user to view user loans and renew them via an override:
{ internal: 'ui-users.loans.view', gui: 'Users: User loans view' },
{ internal: 'ui-users.loans.renew', gui: 'Users: User loans renew' },
{ internal: 'ui-users.loans.renew-override', gui: 'Users: User loans renew through override' },
Corresponding capabilities/sets in Eureka (both sets and capabilities need to be assigned):
resource: UI-Users Loans
action: view
permission: ui-users.loans.view
resource: UI-Users Loans Renew
action: execute
permission: ui-users.loans.renew
resource: UI-Users Loans Renew-Override
action: execute
permission: ui-users.loans.renew-override
When the capabilities and sets above are assigned to a user (directly or via a role), a user cannot perform a loan renewal via an override.
Preconditions:
A user loan with maximum renewals performed should exists in the system (such loan can only be renewed via an override).
On , the following user has such loan -
Steps to reproduce:
Login to
Go to “Users“ app
Open a user having a loan with maximum renewals performed from Preconditions
Expand “Loans“ accordion
Click on a link “… open loans“
Click on ellipsis in the row for a loan from Preconditions → Select “Renew“ option
In modal, click on “Override“ button
Select a checkbox in a loan row in modal
Fill any text in the text field, and click on “Override“ button
Click on a row for a loan from Precoditions
Expected result:
A loan is renewed via override. In loan details view:
“Action”: “Renewed through override“
“Renewal count“: 1
Actual result:
A loan is not renewed. In loan details view, “Renewed through override“ text is not shown, “Renewal count“ is “-“.
In DevTools,
POST /circulation/renew-by-barcode
request fails with 422 status and the following response body:Additional info:
Not reproducible on Snapshot
GET /capabilities response contains the following capability:
Related test case/auto-test: C569
See example: