Skip to content

Commit

Permalink
[MODORDERS-1006] Adjust perms
Browse files Browse the repository at this point in the history
  • Loading branch information
Saba-Zedginidze-EPAM committed Apr 8, 2024
1 parent 1db4717 commit cf62016
Showing 1 changed file with 40 additions and 10 deletions.
50 changes: 40 additions & 10 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -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",
Expand All @@ -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"
]
},
Expand Down

0 comments on commit cf62016

Please sign in to comment.