Uploaded image for project: 'ui-requests'
  1. ui-requests
  2. UIREQ-183

Request Policy Delete

    XMLWordPrintable

Details

    • Core: F - Sprint 58
    • 5
    • Prokopovych

    Description

      Purpose: Request policies will allow libraries to determine what can be requested and how. They will be targeted to requests via the Circ Rules feature (loan rules will be extended to allow targeting of request policies as well as loan policies (see UXPROD-1217 for more details). At the time of request creation, the system will look at the attibutes of the requester and requested item and run them through the circ rules to determine if the request is allowed or not and, later, what delivery options are available etc. For the first pass of request policies, we will focus simply on whether various types of requests are allowed as delivery is neither complete nor needed by Chalmers.

      User story:
      As a library administrator
      I want to be able to delete request policies I have set up in error

      Scenarios:

      1. Scenario
        • Given Settings > Circulation > Request policies
        • When a request is in edit or view mode
        • Then a delete option should be available in the pane header dropdown ("Delete")
      2. Scenario
        • Given delete
        • When selected
        • Then the delete confirmation popup should display
          • Header: Delete request policy
          • Body: The request policy <RequestPolicyName> will be removed.
          • Buttons: Cancel, Delete
      3. Scenario
        • Given delete confirm button
        • When clicked
        • Then the request policy is deleted and:
          • The user is returned to the Request policy list
          • Deleted policy should no longer appear in Settings or as an option in Circ Rules
          • Delete confirmation toast should display with the text "The request policy <requestPolicyName> was successfully deleted."
      4. Scenario
        • Given delete cancel button
        • When clicked
        • Then delete is cancelled

      Out of scope: Preventing delete of in-use request policies. I am not sure this is even going to be needed (it's not clear whether circ rules will require a request policy. I think they likely won't in which case it should be fine to delete policies that are in use/tied to a circ rule.

      Mockups: https://drive.google.com/drive/folders/1EIDgd9thft1PvPGQLb3rJPI_V5hdxFku

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adityamatukumalli Aditya matukumalli
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases