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

Template: permissions to change item status to status X

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Draft (View Workflow)
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Development Team:
      None

      Description

      Purpose: Create a permission that allows users to change item status to 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 edit records)
        • Given User A has been given a permission that provides access to viewing item records (e.g., Inventory: View, create, edit items), and an item with one of the following statuses:
          • <list allowed statuses>
        • When the user has the permission "Inventory: <name of permission>"
        • Then:
          • show the Mark as <status name> option in the item record action menu
      4. 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)
        • When the user does not have the permission "Inventory: <name of permission>"
        • Then:
          • do not show the Mark as <status name> option in the item record action menu for any item, regardless of status
      5. Scenario
        • Given the Mark as <status name> option for an item in the item record action menu
        • When clicked and the resulting modal is confirmed
        • Then change the item status to <status name>
      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

      If UXPROD-1731 is complete, use the following:
      Form option:

      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 one of the following statuses:
          • <list allowed statuses>
        • When the edit item record form is open
        • Then:
          • activate dropdown menu for item status
          • show <status name> in item status dropdown menu
      2. Scenario
        • Given the edit form described above, with <item status> selected
        • When the user saves the item record
        • Then change the item status for item to <item 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) and to change to at least one item status, but not to change to <status name>
        • When the edit item record form is open
        • Then:
          • do not display <status name> in dropdown menu
      4. Scenario (user can edit records but has no status permissions)
        • Given User A has been given a permission that provides access to editing item records (e.g., Inventory: View, create, edit items), but not to change to <item status> or change to other item statuses
        • When the edit item record form is open
        • Then:
          • do not activate dropdown menu for item status

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases