Visibility should be set to 'Private' when modifying a pre-existing list that meets cross-tenant criteria

Description

This story will be for testing only – required changes will be enforced in


Some lists that meet the criteria for having a cross-tenant query have a visibility set to ‘Shared’ (these lists were created prior to enforcing ‘Private’ for visibility in the UI, or were created via API).

When these lists are edited via the Lists UI, the visibility should be set to ‘Private’ (same as we enforce for new lists). The current behavior is the list is set to ‘Shared’ and cannot bet changed to ‘Private’.

Additionally, the API should enforce that these lists can only be created as ‘Private’.

Pre-condition:

  • Pre-existing list that meets the criteria for a cross-tenant query** AND the visibility is set to shared

    • **List in the central tenant for Instances, Holdings, Items records

Steps to reproduce:

  • Open the existing list

  • Click ‘Actions – Edit list’

Expected results:

  • List visibility is set to ‘Private’ and cannot be changed

Actual results:

  • List visibility is set to ‘Shared’ and cannot be changed

 

Scenario 1: Editing a list that contains a cross tenant query that was previously set to ‘Shared’

  1. Given a list matches the criteria for a cross-tenant query

    1. And the current state of the list visibility is ‘Shared’

  2. When the list is edited

  3. Then the list visibility is set to ‘Private’

    1. And the "Shared" radio button label and circle become disabled

    2. And a lock icon appears next to ‘Private’

    3. And the ‘Private’ visibility is saved when the list is saved

Scenario 2: User cancels edits on a pre-existing list that meets cross-tenant criteria

  1. Given a list matches the criteria for a cross-tenant query

    1. And the current state of the list visibility is ‘Shared’

    2. And the list is being edited

    3. And the list visibility is set to ‘Private’ (scenario 1 above)

  2. When the user closes the list without saving changes

  3. Then the updated visibility is not saved

 

note: if we need to notify the user that the visibility is being set to private, we can probably use the same type of messaging we do when someone chooses ‘inactive’

 

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

Activity

Show:

Emma_Haroyan November 3, 2024 at 2:06 PM

Everything looks good

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Corsair

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 23, 2024 at 5:48 PM
Updated November 6, 2024 at 5:55 PM
Resolved November 6, 2024 at 5:55 PM
TestRail: Cases
TestRail: Runs