Skip to content

Commit

Permalink
CIRC-853: Add missing permissions for cancel request endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan Suprun authored and marcjohnson-kint committed Jul 30, 2020
1 parent fc7f4c3 commit f35b244
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
"circulation.requests.item.delete"
],
"modulePermissions": [
"circulation-storage.requests.item.delete"
"modperms.circulation.requests.item.delete"
]
},
{
Expand Down Expand Up @@ -1928,6 +1928,38 @@
],
"visible": false
},
{
"permissionName": "modperms.circulation.requests.item.delete",
"displayName": "module permissions for one op",
"description": "to reduce X-Okapi-Token size",
"subPermissions": [
"circulation-storage.requests.item.get",
"circulation-storage.requests.collection.get",
"circulation-storage.loans.collection.get",
"circulation-storage.loans.item.get",
"inventory-storage.items.collection.get",
"inventory-storage.items.item.get",
"inventory-storage.holdings.collection.get",
"inventory-storage.holdings.item.get",
"inventory-storage.instances.collection.get",
"inventory-storage.instances.item.get",
"inventory-storage.locations.collection.get",
"inventory-storage.locations.item.get",
"inventory-storage.location-units.institutions.item.get",
"inventory-storage.location-units.campuses.item.get",
"inventory-storage.location-units.libraries.item.get",
"inventory-storage.service-points.collection.get",
"inventory-storage.service-points.item.get",
"users.item.get",
"users.collection.get",
"usergroups.collection.get",
"usergroups.item.get",
"inventory-storage.location-units.libraries.collection.get",
"circulation-storage.requests.item.delete",
"circulation-storage.request-batch.item.post"
],
"visible": false
},
{
"permissionName": "modperms.circulation.requests.item.put",
"displayName": "module permissions for one op",
Expand Down

0 comments on commit f35b244

Please sign in to comment.