User with permission "Settings (eHoldings): Can assign/unassign a user from a KB" can't assign users to KB credentials

Description

Overview: User with permission "Settings (eHoldings): Can assign/unassign a user from a KB" can't assign users to KB credentials
Steps to Reproduce:

  1. Log into Snapshot FOLIO environment as User with at least the following permission:
    eHoldings: Can view providers, packages, titles detail records
    Settings (eHoldings): Can assign/unassign a user from a KB

  2. Navigate to "Settings >> eHoldings >> Assigned Users"

  3. Click on the "Assign users" button.

  4. Find and select any user in the displayed pop-up modal.

Expected Results: The selected user assigned to KB credentials. User is displaying in the list at "Assigned Users" pane.
Actual Results: The error "Unable to complete this operation. Please try again." is displaying. "500" error is displaying at "DevTools>>Network".
Additional Information: See attached screencast.
This issue isn't reproducing with admin user permissions (admin_diku / admin).
Interested parties:  

UPD: After MODKBEKBJ-667 assigning requires permission "users.item.get"
 
 
 

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Valery_PilkoJuly 6, 2022 at 8:17 AM

Verified at Snapshot environment - work as expected. 
See attached screencast:

Pavlo SmahinJuly 4, 2022 at 2:19 PM

Okay, I will create BE ticket to fix the problem with permissions on BE side.

Denys BohdanJuly 4, 2022 at 11:25 AM

Hey  
Request URL: https://folio-snapshot-okapi.dev.folio.org/eholdings/kb-credentials/42594fb8-d11f-4091-b8c8-58ab462480d0/users
Body: 

Pavlo SmahinJuly 4, 2022 at 7:54 AM
Edited

Hey , could you please specify which the request is and what body is passing?

Valery_PilkoJune 30, 2022 at 12:32 PM

 
Yes, this issue reproduced only when user at least this permission "Settings (eHoldings): Can assign/unassign a user from a KB".
Assigning of user to KB credentials was successful only when using user: diku_admin 

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Morning Glory (R2 2022)

RCA Group

Missing module permission

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 30, 2022 at 6:36 AM
Updated July 7, 2022 at 10:51 AM
Resolved July 6, 2022 at 1:23 PM
TestRail: Cases
TestRail: Runs