All work

Select view

Select search mode

 
50 of 449

Missing module permissions on /inn-reach/d2ir/circ endpoint

Description

A user that has only the inn-reach.all permission set (as documented for the institutional user for edge-inn-reach) cannot create an INN-Reach borrowing request for materials from another institution. The temporary item cannot be created in FOLIO and the module logs the error:

2025-04-14T20:44:35.538186957Z stdout F 20:44:35 [] [] [] [] ERROR syncExceptionHandler Async method [public void org.folio.innreach.domain.service.impl.PatronHoldServiceImpl.createVirtualItems(org.folio.innreach.domain.entity.InnReachTransaction)] throw exception 2025-04-14T20:44:35.53831357Z stdout F feign.FeignException$Forbidden: [403 Forbidden] during [GET] to [http://holdings-sources?query=name==FOLIO&limit=1] [HoldingSourcesClient#querySourceByName(String)]: [Access for user 'innreachClient' (8c1608b5-817c-4554-b078-0a659a4e7290) requires permission: inventory-storage.holdings-sources.collection.get]

Adding the required permission allows the item to be created and the request to be placed for processing when it is received.

I believe that the endpoint /inn-reach/d2ir/circ/{circulationOperationName}/{trackingId}/{centralCode} needs to have the permission inventory-storage.holdings-sources.collection.get added to the modulePermissions property in the module descriptor.

This was observed with mod-inn-reach v3.2.5 (Quesnelia) but seems likely to be also true for later versions as the modulePermissions for that endpoint have not changed.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

Add the inventory-storage.holdings-sources.collection.get permission to the institutional user.

Checklist

hide

Details

Assignee

Reporter

Priority

Development Team

Volaris

Release

Trillium (R2 2025)

RCA Group

TBD

Affected Institution

University of Colorado

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created 3 days ago
Updated 2 days ago

Activity

Show:
Irina Pokhylets
updated the Release2 days ago
None
Trillium (R2 2025)
Irina Pokhylets
made 4 changes
2 days ago
Link
None
This issue relates to UXPROD-5274
Priority
TBD
P3
Labels
inn-reach
back-end inn-reach
Wayne Schneider
updated the description3 days ago
A user that has only the {{inn-reach.all}} permission set (as documented for the institutional user for edge-inn-reach) cannot create an INN-Reach borrowing request for materials from another institution. The temporary item cannot be created in FOLIO and the module logs the error: {noformat}2025-04-14T20:44:35.538186957Z stdout F 20:44:35 [] [] [] [] ERROR syncExceptionHandler Async method [public void org.folio.innreach.domain.service.impl.PatronHoldServiceImpl.createVirtualItems(org.folio.innreach.domain.entity.InnReachTransaction)] throw exception 2025-04-14T20:44:35.53831357Z stdout F feign.FeignException$Forbidden: [403 Forbidden] during [GET] to [http://holdings-sources?query=name==FOLIO&limit=1] [HoldingSourcesClient#querySourceByName(String)]: [Access for user 'innreachClient' (8c1608b5-817c-4554-b078-0a659a4e7290) requires permission: inventory-storage.holdings-sources.collection.get]{noformat} Adding the required permission allows the item to be created and the request to be placed for processing when it is received. I believe that the endpoint {{/inn-reach/d2ir/circ/{circulationOperationName}/{trackingId}/{centralCode}}} needs to have the permission {{inventory-storage.holdings-sources.collection.get}} added to the {{modulePermissions}} property in the module descriptor. This was observed with mod-inn-reach v3.2.5 (Quesnelia) but seems likely to be also true for later versions as the modulePermissions for that endpoint have not changed.
Wayne Schneider
created the Work item3 days ago
TestRail: Cases
TestRail: Runs

Flag notifications