We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Canceling request from snow fails (/api/v5/cancelPendingRequest)

ekorh
Regular Contributor
Regular Contributor

Hi,

We are using the saviynt app in snow and noticed an issue with the functionality. 
When end user requests e.g. enterprise role from snow, before the request is approved in Saviynt, there is a possibility for the user to cancel their own request. 
 
This however fails to a following error: User's roles does not have permission to cancel requests. This cancel request is made towards API: /api/v5/cancelPendingRequest .
 
I tested this functionality also in Postman. The bearer token used is for an api user that has both OOB SAV ROLE_ADMIN and our custom admin SAV ROLE_ADMCOPY. This is the same api user that is configured in the saviynt app.
token.png
 
 
These sav roles together should give the user the permissions to perform this task. 
 
In the end, the Postman test also fails with the same error: User's roles does not have permission to cancel requests. 
 
{
    "msg""User's roles does not have permission to cancel requests",
    "errorCode""1"
}
 
I have also tried this in Postman with the requestor users, employee ftest, token with this user having also both OOB SAV ROLE_ADMIN and our custom admin SAV ROLE_ADMCOPY .

ftestToken.png

 
 

 

 
 
However, the result is same error message.
 
In our environment the SAV ROLE_ADMCOPY gives access to the API  webservice_api_v5_cancelPendingRequest AND also haves any other necessary permission for this action selected in Feature Access, Web Service Access, Create Request Home Option, etc..
 
See below a picture of the url search within that sav role (obviously, the role has all the web service accesses but for the sake of this post I just highlighted this particular since it is the most relevant).
 

 

admcopy.png
 
So even with full permissions, this is not working, not from Saviynt app in snow and not even from Postman.
 
Thanks already in advance.
 
BR,
Ella
3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Does it works with only ROLE_ADMIN sav role.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi,

We tried this but received following error:

{
    "msg""An unexpected error occurred",
    "errorCode""1"
}

ekorh
Regular Contributor
Regular Contributor

Hi,

We got this working by enabling followin config in SAV Role:

Show Actions in Request History List