Test/verify in bugfest Orchid. The permission is missing from the endpoint which is used to edit an item

Description

Overview: User needs 'inventory storage - remove part of a bound-with' and 'inventory storage - add a part to a bound-with'. 

Preconditions:

  1. User is logged into FOLIO env with permissions 
    'Inventory: View instances, holdings, and items',
    'Inventory: View, create, edit items'.

  2. An item with available status is created.

  3. The item is open in edit mode.

Steps to Reproduce:

  1. Change barcode.

  2. Click on the 'Save and close' button.

  3. Pay attention on the modal.

Expected Results: Toast message "The item - HRID has been successfully saved." is appeared and entered value in "Item barcode" field in "Administrative data" accordion is displayed.

Actual Results: The modal with 'Access for user 'UserName' requires permission: inventory-storage.bound-with-parts.item.post' is displayed.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Maccabee LevineFebruary 28, 2023 at 6:17 PM

Closing the loop on this

  • The bug will still appear when the item you're editing actually has (or used to have) BW.  So I also added the missing permissions.  Per Marc's comment above, those are hard to test locally so we can see if it's resolved in snapshot after the next build.

I just tested in snapshot, and I can still edit items even if they do have bound-with parts.  I.e. the permission fix worked.

Charlotte WhittFebruary 23, 2023 at 7:33 AM

Thank you

Michal KuklisFebruary 22, 2023 at 3:58 PM

and I think we will need to cut another release 9.4.0. I will take care of it.

Charlotte WhittFebruary 22, 2023 at 3:42 PM

Hi , np
can you maybe help us here?
I checked the

  1. releases

Slack channel and can see that `ui-inventory` v9.3.0 was released on Feb 2/20 https://github.com/folio-org/ui-inventory/releases/tag/v9.3.0

Maccabee LevineFebruary 22, 2023 at 1:01 PM

Hi It looks like I don't have permissions to set Fix/Version Number, and honestly I'm not sure what I would set if I did.  It's in the CHANGELOG for "9.4.0 in progress" but I don't know if that's definitive, i.e. I imagine that version may get split as Michal picks some subset of the issues for Orchid.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Sprint

Development Team

Sif

Fix versions

Release

Orchid (R1 2023) Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 16, 2023 at 3:20 PM
Updated February 28, 2023 at 6:17 PM
Resolved February 22, 2023 at 11:27 AM
TestRail: Cases
TestRail: Runs