On Adding proxy to custom userroles seeing "Unable to add resource permission" in UI.

Not applicable

Role assignment for proxy not working. On adding proxy to custom userrole seeing below error in UI.

Error fetching permission

"Unable to add resource permission" in UI"

0 1 122
1 REPLY 1

Not applicable

First try to check whether the entry exist in the ldap for that particular proxy associated with the userrole with below command.

ldapsearch -H "ldap://127.0.0.1:10389" -x -D "cn=manager,dc=apigee,dc=com" -b "o={org_name},ou=organizations,dc=apigee,dc=com" -W

If the entry exist then try to delete the entry directly from the ldap with below command.

ldapdelete -h <IP> -p <PORT> -x -D "cn=<LDAP_ADMIN>,dc=apigee,dc=com" -w <PASSWORD> "cn=@@@applications@@@<APIPROXY-NAME>,ou=resources,cn=<CUSTOM_USERROLE>,ou=userroles,o=developer,ou=organizations,dc=apigee,dc=com"

After that, Fetch the custom userrole permissions using api call

http://<MGMT_IP>/v1/o/<ORG_NAME>/userroles/<userroles>/permissions

This api call output should not have any permission related to that apiproxy.

Now login to UI, try to see roles of apiproxy roles, which should be empty.