custome role for sharedflow

Hi Support team,

I have created a custome role by following the https://docs.apigee.com/api-platform/system-administration/permissions apigee docs. I am unable to deploye and undeploy the shared flow reviosions. I have run all the shared flow urls which are provided in docs. But still i ddint get the permission to deploy an dundeploy the sharedflow.

{
“path”: “/sharedflows”,
“permissions”: [
“get”,
“put”
]
},
{
“path”: “/sharedflows/",
“permissions”: [
“get”
]
},
{
“path”: "/sharedflows/
/deployments”,
“permissions”: [
“get”
]
},
{
“path”: “/sharedflows//revisions/”,
“permissions”: [
“get”,
“put”
]
},
{
“path”: “/sharedflows//revisions//deployments”,
“permissions”: [
“get”
]
},
{
“path”: “/environments//sharedflows//revisions//deployments",
“permissions”: [
“put”
]
},
{
“path”: "/environments/
/flowhooks/*”,
“permissions”: [
“get”,
“put”
]
},
Our apigee edge is saas platform.

Could you please assist how we can get the deployment permissions for SF.

@cladius

Thanks,

M Kumari.

Start by creating a custom role with the following permissions:

{
    "path": "/sharedflows/*",
    "permissions": [
        "delete",
        "put",
        "get"
    ]
},
{
    "path": "/sharedflows/*/revisions/*",
    "permissions": [
        "delete",
        "put",
        "get"
    ]
},
{
    "path": "/sharedflows/*/revisions/*/deploy",
    "permissions": [
        "delete",
        "put",
        "get"
    ]
},
{
    "path": "/environments/*/sharedflows/*/revisions/*/deployments",
    "permissions": [
        "delete",
        "put",
        "get"
    ]
},
{
    "path": "/sharedflows",
    "permissions": [
        "delete",
        "put",
        "get"
    ]
}

Then selectively remove the various unnecessary permissions until you achieve the level of access you are seeking.

1 Like