ECS - Save consortium-wide settings for Inventory - Instances - Subject types

Description

Purpose: Consortium administrators may need to update groups of settings for multiple member tenants from within Consortium manager while allowing those tenants local control over those settings. Such a case assumes that the consortium administrator is also an authorized user in each affected member tenant.

This case applies to list-type settings in support of Subject types

User story statement(s):

As a consortium administrator authorized to manage settings within selected individual tenants
I want to update list-type settings for one or more member tenants as local entries
so that I can support member tenants efficiently while respecting local autonomy.

Scenarios:

  1. Create and edit permission:

    • Given a staff user is working in Consortium manager and viewing Inventory

    • When user has permission ‘Settings (Inventory): Create, edit, delete subject types’

    • Then user can see the "New" button

    • AND that button is active

  2. New entry:

    • Given user clicks "new"

    • When a new row is added to the list

    • Then the user can input a name

    • AND click save or cancel

    • AND the Select Members button is NOT active

  3. Share toggle:

    • Given user has permission Settings (Consortium manager): Share

    • When a new row is added to the list as described in Scenario 2

    • Then the user can also edit the share toggle

  4. Cancel new:

    • Given a new row is added to the list

    • When a user clicks cancel

    • Then the row disappears

  5. Share not editable once saved

    • Given user clicks the pencil icon on an existing row

    • When the "Name" box becomes editable

    • Then the "share" setting is NOT editable

  6. Display confirmation:

    • Given "share" flag is set to "false"

    • When user clicks save

    • Then the confirmation modal is displayed

  7. Confirmation modal Save:

    • Given confirmation is displayed

    • AND given message is shown: "Are you sure you want to save this setting on behalf of <<Xnumber>> members?

    • When user clicks save

    • Then the confirmation modal is dismissed

    • AND a row is added to the table with an identical "Name" for each member selected

  8. Confirmation modal Cancel:

    • Given confirmation is displayed AND message is shown: "Are you sure you want to save this setting on behalf of <<Xnumber>> members?

    • When user clicks Cancel

    • Then the confirmation modal is dismissed

    • AND user is able to continue editing table row

Acceptance Criteria Note:

  • Given a staff user at a tenant other than the central tenant is working in Settings and viewing the relevant settings area

  • When user has appropriate permissions AND a setting has been saved from Consortium manager as described above

  • Then the user can edit the setting.

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Ryan Taylor November 4, 2024 at 9:05 PM

Requested work completed under

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:39 PM
Updated November 4, 2024 at 9:05 PM
Resolved November 4, 2024 at 9:05 PM
TestRail: Cases
TestRail: Runs