How to set user permissions to allow Shared flow deployment?

Hy folks!

I’m trying to set up user permission in Apigee. I have used this link to set up GET-PUT-DELETE permission, but I’ve encountered a problem: the user can not deploy the shared flow because of permission restriction.

Can anybody tell me, how can I set up the this permission (Shared flow deploy) for the user?

Thanks!

Best regards,
Viktor

2 Likes

Hi Viktor

I believe that linked answer may be in error. Where it states

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

…I think you want

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

Can you try?

2 Likes

Environment specific permission can be provided as well. See below JSON body:

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

1 Like