All work

Select view

Select search mode

 
50 of

Find Instance Plugin - Staff suppress facet - default settings

Done

Description

Purpose/Overview:
Find Instance Plugin search should by default filter out the records that are staff suppressed and the Staff suppress facet should be visible only to those who have required Inventory: Enable staff suppress facet permission (see UIIN-2593).

  • Similar default setting changes will be made to Inventory search via

Requirements/Scope:

  1. Change default Find Instance Plugin search results to automatically exclude instance records that are staff suppressed (staffSuppress.false is added to all searches)

  2. By default the Staff suppress facet has option "No" selected

  3. By default the Staff suppress facet is hidden

  4. Only users with Inventory: Enable staff suppress facet permission can see the Staff suppressed facet and make changes to the defaulted option.

Approach:

Acceptance criteria:

  • All requirements are met

  • Unit tests are written/updated and they pass (screenshot to be attached)

Testing details:

  • For users that do NOT have Inventory: Enable staff suppress facet permission:

    • do not see staff suppressed facet

    • staff suppressed instances are not in search results

  • For users that DO have Inventory: Enable staff suppress facet permission:

    • do see staff suppressed facet

    • facet is defaulted to 'No' being checked (so unsuppressed records are defaulted to display)

    • user can check 'Yes' on facet and return records which ARE staff suppressed, and if 'No' is unchecked then they only get staff suppressed records.

Environment

None

Potential Workaround

None

Attachments

2

relates to

Checklist

hide

TestRail: Results

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Quesnelia (R1 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 1, 2023 at 8:20 PM
Updated March 26, 2025 at 1:26 PM
Resolved March 16, 2024 at 12:07 AM

Activity

Show:

Khalilah GambrellMarch 16, 2024 at 12:07 AM

Works as expected when creating a Purchase order line.

Ryan TaylorMarch 15, 2024 at 1:31 PM
Edited

No, users with "Inventory: All permissions" should not be seeing the Staff suppress facet. Only users who specifically have "Inventory: Enable staff suppress facet" should be able to see the facet.

Valery_PilkoMarch 15, 2024 at 12:06 PM

Hi
Could you please answer on one question: is it expected that “Staff suppress” facet is enabled on UI for user with “Inventory: All permissions” only?

Valery_PilkoMarch 14, 2024 at 2:36 PM

Verified on snapshot environment - works as expected.
See attached screencast:


Separate issue was created for found issue
Ready for PO review.

Valery_PilkoMarch 14, 2024 at 1:21 PM

Hi
I’ve found following issue in plugin - “Clicking on the “No” checkbox of “Staff suppress” facet cancel other facets selections sometimes”.
Please see attached screencast:

TestRail: Cases
TestRail: Runs