[Bad Request] Missing parameter X-Okapi-Permissions in HEADER for /circulation/check-out-by-barcode (eureka snapshot)

Description

An error occurs when a user with limited capabilities performs a check out by barcode

NOTE: test user has ONLY the following capabilities:
"name":"ui-checkout_circulation.execute" - "resource":"UI-Checkout Circulation"


for admin user check out works well

POST /circulation/check-out-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/591

Reproducible on the envs:
https://folio-etesting-snapshot-diku.ci.folio.org
https://folio-etesting-cypress-diku.ci.folio.org


Preconditions:
A user account with an assigned service point and assigned permissions: Check Out circulating items

  • item A: number of pieces set to 1, and description of pieces, number of missing pieces, and description of missing pieces left blank

  • item B: number of pieces set to a number greater than 1 and/or some value for description of pieces; number of missing pieces and description of missing pieces left blank

  • item C: number of pieces set to a number greater than 1 and/or some value for description of pieces, and some value for number of missing pieces and/or description of missing pieces

  • item D: number of pieces set to 1, description of pieces left blank, and some value for number of missing pieces and/or description of missing pieces

Circulation rules that allow those items to circulate to a patron

Steps:

  1. Open check out interface

  2. Enter patron id or choose patron with "Patron look-up" function

  3. Enter barcode of item A - the test fails on this step!

  4. Enter barcode for item B (number of pieces set to a number greater than 1 and/or some value for description of pieces; number of missing pieces and description of missing pieces left blank) - the test fails on this step!

  5. Click Cancel.

  6. Enter barcode for item B again.

  7. Click check out.

  8. Enter barcode for item C (number of pieces set to a number greater than 1 and/or some value for description of pieces, and some value for number of missing pieces and/or description of missing pieces)

  9. Click check out.

  10. Enter barcode for item D (number of pieces set to 1, description of pieces left blank, and some value for number of missing pieces and/or description of missing pieces)

  11. Click check out.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Ostap Voitsekhovskyi February 27, 2025 at 6:19 PM

Hi , yes, single tenant Eureka

Anne Ekblad February 27, 2025 at 2:19 PM

Ping related to question below, .

Anne Ekblad February 24, 2025 at 10:22 PM

Hi, . Just to confirm, the environment being tested is Single tenant Eureka, correct?

Details

Assignee

Reporter

Priority

Story Points

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 11:23 AM
Updated 2 days ago
TestRail: Cases
TestRail: Runs

Flag notifications