From 1a86cf583586c56f2736922f50274a2a9e5a3bc6 Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Date: Tue, 13 Jun 2023 09:45:24 +0100
Subject: [PATCH] Bug 33993: Add order_receive to GET orders endpoints

This adds order_receive to the list of permissions that allow the
endpoint to return orders.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Sharon Dugdale <Sharon.Dugdale@cumberland.gov.uk>
---
 api/v1/swagger/paths/acquisitions_orders.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/api/v1/swagger/paths/acquisitions_orders.yaml b/api/v1/swagger/paths/acquisitions_orders.yaml
index 0853ade1a8..8f5f35e669 100644
--- a/api/v1/swagger/paths/acquisitions_orders.yaml
+++ b/api/v1/swagger/paths/acquisitions_orders.yaml
@@ -103,6 +103,7 @@
         acquisition:
           - order_manage
           - order_manage_all
+          - order_receive
   post:
     x-mojo-to: Acquisitions::Orders#add
     operationId: addOrder
-- 
2.41.0