Uploaded image for project: 'mod-data-export-spring'
  1. mod-data-export-spring
  2. MODEXPS-90

Fix issue with permissions for EDIFACT manual orders export

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.3.2
    • None
    • ACQ Sprint 136, ACQ Sprint 137
    • 1
    • Thunderjet
    • Lotus R1 2022 Bug Fix
    • Implementation coding issue

    Description

      Error details

      [403 Forbidden] during [GET] to http://orders-storage/purchase-orders?query=%28workflowStatus%3D%3DOpen%20and%20vendor%3D%3D7640e2c9-3e14-3b46-9397-09e445361d72%20and%20poLine.automaticExport%3D%3Dtrue%29&limit=2147483647 OrdersStorageClient#getCompositePurchaseOrderByQuery(String,int): [Access requires permission: orders-storage.purchase-orders.collection.get] (Forbidden)

      Approach

      Create separate permission for manual export run

          {
            "permissionName": "data-export.edifact.orders.create",
            "displayName": "Edifact export create permission",
            "description": "Edifact export create permission",
            "subPermissions": [
              "configuration.entries.collection.get",
              "configuration.entries.item.get",
              "data-export.job.item.post",
              "finance.expense-classes.item.get",
              "inventory-storage.holdings.item.get",
              "inventory-storage.identifier-types.item.get",
              "inventory-storage.locations.item.get",
              "inventory-storage.material-types.item.get",
              "inventory-storage.service-points.collection.get",
              "organizations-storage.organizations.item.get",
              "orders.item.get",
              "orders-storage.purchase-orders.collection.get"
            ]
          }
      

      Acceptance criteria

      Permissions added

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases