Skip to content

Commit

Permalink
[MODORSERS-1026] - Update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
azizbekxm committed Mar 28, 2024
1 parent 47ef021 commit 9661f92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,11 @@
"displayName" : "orders holding-summary get",
"description" : "Holding summary"
},
{
"permissionName": "orders.routing-list.item.post",
"displayName" : "orders routing-list item post",
"description" : "Orders routing-list item post"
},
{
"permissionName": "orders.all",
"displayName": "orders - all permissions",
Expand Down Expand Up @@ -1757,8 +1762,8 @@
"orders.rollover.item.post",
"orders.holding-summary.collection.get",
"orders.acquisition-methods.all",
"orders.export-history.all"

"orders.export-history.all",
"orders.routing-list.item.post"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private Future<TemplateProcessingRequest> fetchUsersAndCreateTemplate(RoutingLis
}

private TemplateProcessingRequest createTemplateRequest(RoutingList routingList, JsonObject users) {
var templateRequest =createBaseTemplateRequest();
var templateRequest = createBaseTemplateRequest();
var userListForContext = createUserListForContext(users);
var context = new TemplateProcessingRequest.Context().withUsers(userListForContext);
templateRequest.withContext(context);
Expand Down

0 comments on commit 9661f92

Please sign in to comment.