How to add Flowhook permissions to custom userrole ?

Not applicable

I would like to assign flowhook permissions to the userrole so that users with that userrole can edit the flowhooks.

I did try adding the following permissions:

   {
    "organization" : "<org-name>",
    "path" : "/flowhooks",
    "permissions" : [ "delete", "put", "get" ]
  }, {
    "organization" : "<org-name>",
    "path" : "/flowhooks/*",
    "permissions" : [ "delete", "put", "get" ]
  }, {
    "organization" : "<org-name>",
    "path" : "/environments/*/flowhooks/*",
    "permissions" : [ "delete", "put", "get" ]
  }

But still I don't see the permissions to Edit or Add the Flowhooks in the UI for the user in that specific userrole.

Can someone assist on this ?

0 2 149
2 REPLIES 2

I'm not clear on the problem.

You added permissions via the API.

Is the problem that you don't see that information in the UI?

Can you attach a screen shot?

Are the permissions effective?

What specifically is the problem? What are you trying? What results do you see? What results do you expect to see?

@Dino,

1. I want to assign Edit permissions for FlowHooks to the users under a custom role.

2. I added the permissions shown in the Question above using the management API, but still the user in the custom role does not have the permissions to Edit the FlowHooks.

I would like to know what permissions should I give so that the users under a custom role can add or edit FlowHooks ?