Skip to content

Commit

Permalink
chore: Bring refdata perms in line with licenses PR: folio-org/mod-li…
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Sep 25, 2024
1 parent 0f1d8a0 commit ff7bd79
Showing 1 changed file with 31 additions and 26 deletions.
57 changes: 31 additions & 26 deletions service/src/main/okapi/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
],
"pathPattern": "/erm/refdata",
"permissionsRequired": [
"erm.refdata.collection.get"
"erm.refdata-category.collection.get"
]
},
{
Expand All @@ -481,7 +481,7 @@
],
"pathPattern": "/erm/refdata/{domain}/{property}",
"permissionsRequired": [
"erm.refdata.collection.get"
"erm.refdata-value.collection.get"
]
},
{
Expand All @@ -490,7 +490,7 @@
],
"pathPattern": "/erm/refdata/{id}",
"permissionsRequired": [
"erm.refdata.item.get"
"erm.refdata-category.item.get"
]
},
{
Expand All @@ -499,7 +499,7 @@
],
"pathPattern": "/erm/refdata",
"permissionsRequired": [
"erm.refdata.item.post"
"erm.refdata-category.item.post"
]
},
{
Expand All @@ -508,7 +508,7 @@
],
"pathPattern": "/erm/refdata/{id}",
"permissionsRequired": [
"erm.refdata.item.put"
"erm.refdata-category.item.put"
]
},
{
Expand All @@ -517,7 +517,7 @@
],
"pathPattern": "/erm/refdata/{id}",
"permissionsRequired": [
"erm.refdata.item.delete"
"erm.refdata-category.item.delete"
]
},
{
Expand Down Expand Up @@ -1276,50 +1276,55 @@
]
},
{
"permissionName": "erm.refdata.collection.get",
"displayName": "Refdata collection get",
"description": "Get a collection of refdata records"
"permissionName": "erm.refdata-category.collection.get",
"displayName": "Refdata category collection get",
"description": "Get a collection of refdata category records"
},
{
"permissionName": "erm.refdata.item.get",
"displayName": "Refdata item get",
"description": "Get refdata record"
"permissionName": "erm.refdata-value.collection.get",
"displayName": "Refdata value collection get",
"description": "Get a collection of refdata value records"
},
{
"permissionName": "erm.refdata-category.item.get",
"displayName": "Refdata item category get",
"description": "Get refdata category record"
},
{
"permissionName": "erm.refdata.view",
"subPermissions": [
"erm.refdata.collection.get",
"erm.refdata.item.get"
"erm.refdata-category.collection.get",
"erm.refdata-category.item.get"
]
},
{
"permissionName": "erm.refdata.item.post",
"displayName": "Refdata item post",
"description": "Post refdata record"
"permissionName": "erm.refdata-category.item.post",
"displayName": "Refdata category item post",
"description": "Post refdata category record"
},
{
"permissionName": "erm.refdata.item.put",
"displayName": "Refdata item put",
"description": "Put refdata record"
"permissionName": "erm.refdata-category.item.put",
"displayName": "Refdata category item put",
"description": "Put refdata category record"
},
{
"permissionName": "erm.refdata.edit",
"subPermissions": [
"erm.refdata.view",
"erm.refdata.item.post",
"erm.refdata.item.put"
"erm.refdata-category.item.post",
"erm.refdata-category.item.put"
]
},
{
"permissionName": "erm.refdata.item.delete",
"displayName": "Refdata item delete",
"description": "Delete refdata record"
"permissionName": "erm.refdata-category.item.delete",
"displayName": "Refdata category item delete",
"description": "Delete refdata category record"
},
{
"permissionName": "erm.refdata.manage",
"subPermissions": [
"erm.refdata.edit",
"erm.refdata.item.delete"
"erm.refdata-category.item.delete"
]
},
{
Expand Down

0 comments on commit ff7bd79

Please sign in to comment.