Skip to content

Commit

Permalink
chore: Refdata endpoints in line with other module draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Oct 1, 2024
1 parent 4f65b35 commit a3fc589
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions service/src/main/okapi/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"pathPattern": "/serials-management/refdata",
"permissionsRequired": [
"serials-management.refdata.collection.get"
"serials-management.refdata.category.collection.get"
]
},
{
Expand All @@ -21,7 +21,7 @@
],
"pathPattern": "/serials-management/refdata/{domain}/{property}",
"permissionsRequired": [
"serials-management.refdata.collection.get"
"serials-management.refdata.value.collection.get"
]
},
{
Expand Down Expand Up @@ -304,10 +304,22 @@
]
},
{
"permissionName": "serials-management.refdata.collection.get",
"displayName": "Ref data collection get",
"description": "Get a collection of ref data records",
"visible": false
"permissionName": "serials-management.refdata.category.collection.get",
"displayName": "Ref data category collection get",
"description": "Get a collection of ref data category records",
"visible": false,
"replaces": [
"serials-management.refdata.collection.get"
]
},
{
"permissionName": "serials-management.refdata.value.collection.get",
"displayName": "Ref data value collection get",
"description": "Get a collection of ref data value records",
"visible": false,
"replaces": [
"serials-management.refdata.collection.get"
]
},
{
"permissionName": "serials-management.refdata.item.get",
Expand Down Expand Up @@ -338,7 +350,8 @@
"displayName": "Refdata read",
"description": "Read refdata as items or collections",
"subPermissions": [
"serials-management.refdata.collection.get",
"serials-management.refdata.value.collection.get",
"serials-management.refdata.category.collection.get",
"serials-management.refdata.item.get"
]
},
Expand Down

0 comments on commit a3fc589

Please sign in to comment.