I am trying to set up a role based access control and the resouce permission api seems not working as expected.
{
"resourcePermission": [
{
"path": "/applications/azp-retail-*",
"permissions": [
"get",
"put",
"delete"
]
},
{
"path": "/applications/azp-retail-*/revisions",
"permissions": [
"get"
]
},
{
"path": "/applications/azp-retail-*/revisions/*",
"permissions": [
"get",
"put",
"delete"
]
},
{
"path": "/applications/azp-retail-*/deployments",
"permissions": [
"get"
]
},
{
"path": "/applications/azp-retail-*/revisions/*/deployments",
"permissions": [
"get",
"put"
]
},
{
"path": "/environments/dev/applications/azp-retail-*/deployments",
"permissions": [
"get"
]
},
{
"path": "/environments/dev/applications/azp-retail-*/revisions/*/deployments",
"permissions": [
"get",
"put",
"delete"
]
},
{
"path": "/applications/azp-retail-*/revisions/*/policies",
"permissions": [
"get",
"put"
]
},
{
"path": "/applications/azp-retail-*/revisions/*/policies/*",
"permissions": [
"get"
]
}
]
}
I am expecting the role to manage dev proxies with azp-retail prefix.
However post creation, UI shows the below.
It allows to edit, delete all proxies.
If you try to delete this permission via console it says it doesnt exists.
Also when you login as a user with this role, I can edit/delete all proxies.