diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 413796fef..92ba8f614 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -1006,27 +1006,32 @@ { "methods": ["GET"], "pathPattern": "/orders/routing-lists", - "permissionsRequired": ["orders-storage.routing-lists.collection.get"] + "permissionsRequired": ["orders.routing-lists.collection.get"], + "modulePermissions": ["orders-storage.routing-lists.collection.get"] }, { "methods": ["POST"], "pathPattern": "/orders/routing-lists", - "permissionsRequired": ["orders-storage.routing-lists.item.post"] + "permissionsRequired": ["orders.routing-lists.item.post"], + "modulePermissions": ["orders-storage.routing-lists.item.post"] }, { "methods": ["GET"], "pathPattern": "/orders/routing-lists/{id}", - "permissionsRequired": ["orders-storage.routing-lists.item.get"] + "permissionsRequired": ["orders.routing-lists.item.get"], + "modulePermissions": ["orders-storage.routing-lists.item.get"] }, { "methods": ["PUT"], "pathPattern": "/orders/routing-lists/{id}", - "permissionsRequired": ["orders-storage.routing-lists.item.put"] + "permissionsRequired": ["orders.routing-lists.item.put"], + "modulePermissions": ["orders-storage.routing-lists.item.put"] }, { "methods": ["DELETE"], "pathPattern": "/orders/routing-lists/{id}", - "permissionsRequired": ["orders-storage.routing-lists.item.delete"] + "permissionsRequired": ["orders.routing-lists.item.delete"], + "modulePermissions": ["orders-storage.routing-lists.item.delete"] }, { "methods": ["GET"], @@ -1756,6 +1761,31 @@ "displayName" : "orders holding-summary get", "description" : "Holding summary" }, + { + "permissionName" : "orders.routing-lists.collection.get", + "displayName" : "orders routing-list collection get", + "description" : "Orders routing-list collection get" + }, + { + "permissionName" : "orders.routing-lists.item.post", + "displayName" : "orders routing-list item post", + "description" : "Orders routing-list item post" + }, + { + "permissionName" : "orders.routing-lists.item.get", + "displayName" : "orders routing-list item get", + "description" : "Orders routing-list item get" + }, + { + "permissionName" : "orders.routing-lists.item.put", + "displayName" : "orders routing-list item put", + "description" : "Orders routing-list item put" + }, + { + "permissionName" : "orders.routing-lists.item.delete", + "displayName" : "orders routing-list item delete", + "description" : "Orders routing-list item delete" + }, { "permissionName": "orders.routing-list-template.item.get", "displayName" : "orders routing-list-template item get", @@ -1766,11 +1796,11 @@ "displayName" : "All routing list perms", "description" : "All permissions for the routing list", "subPermissions" : [ - "orders-storage.routing-lists.collection.get", - "orders-storage.routing-lists.item.post", - "orders-storage.routing-lists.item.get", - "orders-storage.routing-lists.item.put", - "orders-storage.routing-lists.item.delete", + "orders.routing-lists.collection.get", + "orders.routing-lists.item.post", + "orders.routing-lists.item.get", + "orders.routing-lists.item.put", + "orders.routing-lists.item.delete", "orders.routing-list-template.item.get" ] },