Uploaded image for project: 'ui-organizations'
  1. ui-organizations
  2. UIORGS-284

Restrict deletion of Types in settings

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • Leipzig Sprint 132, Leipzig Sprint 133, Leipzig Sprint 134, Leipzig Sprint 135, Leipzig Sprint 136, Leipzig Sprint 137, Leipzig Sprint 138, Leipzig Sprint 139, Leipzig Sprint 140
    • Leipzig
    • Morning Glory (R2 2022)

    Description

      Purpose: Allow user to create and manage organization types in organization settings so that organization records can be organized by type. 

      User story statement(s):

      As an administrative user,
      I want to be able to create organization types
      so that we can identify organizations of a certain type for various reports

      Scenarios:

      1. Scenario:
        • Given user has defined Type(s)
        • When user clicks Trash can icon in table
        • Then user is intercepted buy delete confirmation modal
        • AND if confirmed then type is deleted from list
      2. Scenario:
        • Given user has defined a Type(s)
        • When user clicks Trash can icon in table
        • AND Type is currently referenced in existing Organization(s)
        • Then user is intercepted buy delete confirmation modal
        • AND Delete action is disabled
        • AND message is displayed in modal "This Type cannot be deleted as it is in use by one or more records"
      3. Scenario: (Defaults not needed)
        • Given system has defined default Types
        • When user is editing default Types
        • Then they can edit labels but not delete these Type(s)

      See UIOR-847 for example of implementation

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                dennisbridges Dennis Bridges
                dennisbridges Dennis Bridges
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases