Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-337

check for "Orders: Unopen purchase orders" permission if order is un-opened

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 89
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview
      An order can be un-opened(move from open->pending state) only if the user has additional permission "Orders: Unopen purchase orders"

      Approach
      Using the same approach as in org.folio.rest.impl.PurchaseOrderHelper#checkOrderApprovalPermissions

      Acceptance Criteria

      • Order can move from Open -> Pending only if it has "Orders: Unopen purchase orders"
      • name the permission "orders.item.unopen"
      • unit tests updated
      • API tests updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                KVupp Kruthi Vuppala
                Tester Assignee:
                Andrei Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases