From 3b774d03151383d8299342b984c28fa2216e11b9 Mon Sep 17 00:00:00 2001 From: saba_zedginidze Date: Thu, 28 Nov 2024 16:50:42 +0400 Subject: [PATCH] [MODORDERS-1210] Update module descriptor --- descriptors/ModuleDescriptor-template.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index f69231cfd..175a06ef3 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -630,7 +630,7 @@ { "methods": ["PUT"], "pathPattern": "/orders/pieces-batch/status", - "permissionsRequired": ["orders.pieces.batch.put"], + "permissionsRequired": ["orders.pieces.collection.put"], "modulePermissions": [ "orders-storage.pieces.item.put", "orders-storage.pieces.collection.get", @@ -1545,7 +1545,7 @@ "description": "Delete an existing piece" }, { - "permissionName": "orders.pieces.batch.put", + "permissionName": "orders.pieces.collection.put", "displayName": "orders - batch update piece statuses", "description": "Batch update piece statuses" }, @@ -1560,11 +1560,11 @@ "description" : "All permissions for the pieces", "subPermissions" : [ "orders.pieces.collection.get", + "orders.pieces.collection.put", "orders.pieces.item.post", "orders.pieces.item.get", "orders.pieces.item.put", "orders.pieces.item.delete", - "orders.pieces.batch.put", "orders.piece-requests.collection.get" ] },