Details
Details
Assignee
Unassigned
UnassignedReporter
Ostap Voitsekhovskyi
Ostap VoitsekhovskyiPriority
Story Points
0
Sprint
Development Team
Vega
Release
Sunflower (R1 2025) Bug Fix
RCA Group
TBD
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 24, 2025 at 9:24 AM
Updated 13 hours ago
An error occurs when a user with limited capabilities performs a renew by barcode
NOTE: test user has ONLY the following capabilities:
"name": "ui-users_loans-renew.create" - "resource": "UI-Users Loans-Renew",
"name": "ui-users_loans.view" - "resource": "UI-Users Loans"
for admin user renew works us expected
POST /circulation/renew-by-barcode
500 error
HTTP request to "http://localhost:8082/settings/entries" failed, status code: 400, response: "[Bad Request] Missing parameter X-Okapi-Permissions in HEADER"
To reproduce, please follow the TC https://foliotest.testrail.io/index.php?/cases/view/568
Reproducible on the envs:
https://folio-etesting-snapshot-diku.ci.folio.org
https://folio-etesting-cypress-diku.ci.folio.org
Preconditions:
User A with permissions: view loans, renew loans
User B with permissions: view loans, renew loans, renew loans through override
Loan L the following characteristics:
Loan policy that says item is loanable, but not renewable
Item status is checked out, and has no open requests
Steps:
Log in as User A, and navigate to loan L. Renew loan L. - the test fails on this step!
Log in as User B, and navigate to loan L. Renew loan L.
Click override.
Enter required information, and check at least one loan.
Click override.
Navigate to loan details.