Find instance plugin make unnecessary requests that produce permission issues

Description

Overview: When user is only granted view order and order lines and create order lines permission they are not able to use the "Title lookup" when creating POL

Steps to Reproduce:

  1. Log into some FOLIO environment as User X

  2. User x has only the following perms

  3. Receiving: view, edit OR Receiving: view, edit, create

  4. Navigate to receiving

  5. Select a title

  6. Click edit

Expected Results: User can Edit title by using the title lookup to populate data from instance.

OR

User can create title by using the title lookup to populate data from instance.

Actual Results: perm errors appear when form is loaded, after dismissing all errors user can save and close

However, user can not create Title because they cannot select an instance

Additional Information:
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Tetiana Paranich October 28, 2021 at 1:51 PM

Work as expected on https://folio-snapshot.dev.folio.org

Google Chrome Version 94.0.4606.71 (Official Build) (64-bit)

See the attached

,

Mikita Siadykh October 27, 2021 at 6:35 AM

 changes are available on snapshot env - please retest find-instance plugin to be sure required queries are not removed

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

R3 2021 Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 22, 2021 at 7:51 AM
Updated July 4, 2023 at 1:02 PM
Resolved October 28, 2021 at 5:49 PM
TestRail: Cases
TestRail: Runs