Skip to content

Commit

Permalink
chore: STS permissions cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanFreestone committed Sep 25, 2024
1 parent 1612109 commit 487aec0
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions service/src/main/okapi/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@
],
"pathPattern": "/erm/sts/template",
"permissionsRequired": [
"erm.sts.template"
"erm.sts.template.generate"
]
},
{
Expand All @@ -913,7 +913,7 @@
],
"pathPattern": "/erm/sts/template/{id}",
"permissionsRequired": [
"erm.sts.collection.get"
"erm.sts-for-id.collection.get"
]
},
{
Expand Down Expand Up @@ -1638,6 +1638,11 @@
"displayName": "String templates collection get",
"description": "Get a collection of string templates"
},
{
"permissionName": "erm.sts-for-id.collection.get",
"displayName": "String templates for id collection get",
"description": "Get a collection of string templates for a platform id"
},
{
"permissionName": "erm.sts.item.get",
"displayName": "String templates item get",
Expand All @@ -1647,6 +1652,7 @@
"permissionName": "erm.sts.view",
"subPermissions": [
"erm.sts.collection.get",
"erm.sts-for-id.collection.get",
"erm.sts.item.get"
]
},
Expand Down Expand Up @@ -1681,9 +1687,9 @@
]
},
{
"permissionName": "erm.sts.template",
"displayName": "String templates perform template",
"description": "Performs string templating"
"permissionName": "erm.sts.template.generate",
"displayName": "String templates perform template (DEPRECATED)",
"description": "Performs string templating (DEPRECATED)"
},
{
"permissionName": "erm.admin.action.execute",
Expand Down

0 comments on commit 487aec0

Please sign in to comment.