Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-1247

Template: permissions to change item status from status X

    XMLWordPrintable

Details

    • Story
    • Status: Draft (View Workflow)
    • TBD
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Purpose: Create a permission that allows users to change item status from X.

      Scenarios:

      1. Scenario (provide the permission)
        • Given the Inventory module
        • When enabled
        • Then a logical permission should be provided called "Inventory: <name of permission>”
      2. Scenario (user only has the permission)
        • Given User A has been given ONLY the permission "Inventory: <name of permission>"
        • When User A accesses FOLIO
        • Then the Inventory app should not be visible in the top nav
      3. Scenario (user has the permission and can view records)
        • Given User A has been given a permission that provides access to viewing item records (e.g., Inventory: View, create, edit items), permission to mark as Withdrawn and/or Missing, and an item with the item status <status name>
        • When the user has the permission "Inventory: <name of permission>"
        • Then:
          • show the Mark as withdrawn (and/or Mark as missing) option in the item record action menu
      4. Scenario (user can view records but doesn’t have that permission)
        • Given User A has been given a permission that provides access to editing item records (e.g., Inventory: View, create, edit items) and permission to mark as Withdrawn and/or Missing, and an item with the item status <status name>
        • When the user does not have the permission "Inventory: <name of permission>"
        • Then:
          • do not show the Mark as withdrawn (or Mark as missing) option in the item record action menu for the item
      5. Scenario
        • Given the Mark as withdrawn (and/or Mark as missing) option for an item in the item record action menu
        • When clicked and the resulting modal is confirmed
        • Then change the item status to withdrawn (or missing)
      6. Scenario (permission set)
        • Given User A has been given the permission "Inventory: <name of permission>" as part of a custom permission set
        • When User A accesses FOLIO
        • Then User A should have all rights normally conferred by this permission plus whatever additional rights conferred by the users custom permission set

      Form option (if UXPROD-1731 complete)

      1. Scenario (user has the permission and can edit records)
        • Given User A has been given a permission that provides access to view and edit item records (e.g., Inventory: View, create, edit items), as well as the permission "Inventory: <name of permission>”, and an item with <status name>
        • When the edit item record form is open
        • Then:
          • activate dropdown menu for item status
      2. Scenario
        • Given the edit form described above, with a new item status selected
        • When the user saves the item record
        • Then change the item status for item from <item status> to the new status
      3. Scenario (user can edit records but doesn’t have that permission)
        • Given User A has been given a permission that provides access to editing item records (e.g., Inventory: View, create, edit items) but not permission "Inventory: <name of permission>”, and an item with item status <status name>
        • When the edit item record form is open
        • Then:
          • do not activate dropdown menu for item status

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ecboettcher Emma Boettcher
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases