ECS - Allow user to share Inventory - Instances - Subject types

Description

Purpose: Consortium administrators need to "share" certain consortium-wide system settings to all members of a consortium, and to maintain control over these settings. This capability should exist independently of a consortium administrator's tenant affiliations.

This case is in support of Subject types.

User story statement(s):

As a staff member responsible for configuring consortium-wide settings
I want the ability to "share" settings to all tenants within the consortium
so that I can ensure that all required settings are the same across all tenants

Scenarios:

  1. Share permission:

    • Given user is viewing Inventory - Instances - Subject types within Consortium manager

    • When user has permission Consortium manager : Share

    • Then that user can edit the "Share" toggle

  2. Display confirmation:

    • Given user has added a new row

    • AND given the Share toggle is set to "true"

    • When user clicks save

    • Then a confirmation modal is displayed

  3. Save:

    • Given confirmation is displayed

    • AND given message is shown: "Are you sure you want to share this setting with ALL members?"

    • When the user clicks save

    • Then the confirmation modal disappears

    • AND a row is added to the table with "All" displayed in the Member libraries column

  4. Cancel:

    • Given confirmation is displayed

    • AND message is shown: "Are you sure you want to share this setting with ALL members?"

    • When the user clicks cancel

    • Then the confirmation modal is dismissed

    • AND the user is able to keep editing.

Notes:

A user authorized to view, create and edit this setting within a member other than the central consortium should be able to see the Shared setting within that member's Settings app, but should not be able to edit or delete that setting.

Note: once "share" is set, it cannot be unset

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Ryan Taylor November 4, 2024 at 9:05 PM

Requested work completed under

Serhii_Nosko October 9, 2024 at 7:16 AM

Hi, adding some details about implementation, this new set of stories also requires some small BE effort as well.
All sharing operations are invoked with the context of the system user, so need to add permissions to perform these new calls for both mod-consortia and mod-consortia-keycloak.

CC:

Duplicate

Details

Assignee

Reporter

Priority

Story Points

Development Team

Thunderjet

Release

Not Scheduled

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 8, 2024 at 7:42 PM
Updated November 4, 2024 at 9:05 PM
Resolved November 4, 2024 at 9:05 PM
TestRail: Cases
TestRail: Runs