Skip to content

Commit

Permalink
chore: Cleanup jobs by type permission
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Sep 25, 2024
1 parent 16cee90 commit 3a6aef2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion service/src/main/okapi/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
],
"pathPattern": "/erm/jobs/type/{type}",
"permissionsRequired": [
"erm.jobs.collection.get"
"erm.jobs-by-type.collection.get"
]
},
{
Expand Down Expand Up @@ -1240,6 +1240,11 @@
"displayName": "Jobs collection get",
"description": "Get a collection of job records"
},
{
"permissionName": "erm.jobs-by-type.collection.get",
"displayName": "Jobs by type collection get",
"description": "Get a collection of job records by job type"
},
{
"permissionName": "erm.jobs.item.get",
"displayName": "Job item get",
Expand Down Expand Up @@ -1295,6 +1300,7 @@
"permissionName": "erm.jobs.view",
"subPermissions": [
"erm.jobs.collection.get",
"erm.jobs-by-type.collection.get",
"erm.jobs.item.get",
"erm.jobs.logs.view",
"erm.jobs.fileObject.download"
Expand Down

0 comments on commit 3a6aef2

Please sign in to comment.