Skip to content

Commit

Permalink
chore: Change package content permissions and package sorce get permi…
Browse files Browse the repository at this point in the history
…ssions
  • Loading branch information
EthanFreestone committed Sep 25, 2024
1 parent 25e89ad commit 110ff89
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions service/src/main/okapi/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
],
"pathPattern": "/erm/packages/{id}/content/*",
"permissionsRequired": [
"erm.packages.item.content.get"
"erm.packages.item.content.subset.get"
]
},
{
Expand All @@ -355,7 +355,7 @@
],
"pathPattern": "/erm/packages/sources",
"permissionsRequired": [
"erm.packages.collection.get"
"erm.packages.sources.get"
]
},
{
Expand Down Expand Up @@ -1261,6 +1261,11 @@
"displayName": "Packages collection get",
"description": "Get a collection of package records"
},
{
"permissionName": "erm.packages.sources.get",
"displayName": "Packages sources get",
"description": "Get sources for all package records"
},
{
"permissionName": "erm.packages.item.get",
"displayName": "Package item get",
Expand All @@ -1271,12 +1276,19 @@
"displayName": "Package item content get",
"description": "Get package record's contents"
},
{
"permissionName": "erm.packages.item.content.subset.get",
"displayName": "Package item content subset get",
"description": "Get a subset of a package record's contents"
},
{
"permissionName": "erm.packages.view",
"subPermissions": [
"erm.packages.collection.get",
"erm.packages.sources.get",
"erm.packages.item.get",
"erm.packages.item.content.get"
"erm.packages.item.content.get",
"erm.packages.item.content.subset.get"
]
},
{
Expand Down

0 comments on commit 110ff89

Please sign in to comment.