Click HERE to see how Saviynt Intelligence is transforming the industry. |
02/26/2024 11:20 PM
Hi Team,
We are trying to add application role to user via postman it says success. But in the ARS we can see request is rejected on the UI. And in the view details it says auto approved but it doesnt add the user to role.Please refer the below screenshot:
Thank you,
Harsha
Solved! Go to Solution.
02/27/2024 12:21 AM
Hi @Harsha ,
Can you try payload like below:
{
"accesstype":"ROLES",
"username":"dbailey",
"roletype":"ENTERPRISE",
"requesttype":1,
"roles":[
{
"rolename" : "Network Administrator",
"startdate" : "10-11-2018",
"enddate" : "10-18-2018",
"businessJustification" : "test justification"
} ],
"requestcomments":"commemnt",
"requestor":"ahinton"
}
Refer: https://documenter.getpostman.com/view/1797923/RWaLwo21#0ff342ce-8422-4aab-b37f-dbab940f3221
02/27/2024 12:54 AM
Hi @pmahalle ,
Thank you for replying tried that payload too it didnt work same issue.
@CR you mean WF attached to Security system.Please find that below. Other than that we dont have any other WF attached for roles specifically.
Thank you,
Harsha
02/27/2024 01:00 AM
Hi @Harsha do you see any error in the logs? Can you please share the log snippet for this?
02/27/2024 01:31 AM
02/27/2024 09:21 PM
Share results of below query
select * from request_Access where requestkey=1017
02/27/2024 10:09 PM - edited 02/27/2024 10:39 PM
Thank you for response. Please find the attached screenshot:
In the above request status says 3 means its auto approved but we dont see the user added to role. Please help us what could be the reason for this.
I found the error in logs as below:
Exception in clearCachedV6Requestmap: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.saviynt.saml.SpringSamlUserDetailsService@4df50a30' with class 'com.saviynt.saml.SpringSamlUserDetailsService' to class 'com.saviynt.gorm.security.GormUserDetailsService'
Thank you,
Harsha
02/27/2024 11:01 PM
Validate
02/27/2024 11:18 PM
Hi @rushikeshvartak,
02/29/2024 02:01 AM
Hi @rushikeshvartak ,
What we found is, only for particular accounttype it is adding user to role. But for other accounttype it just outright rejecting. what could be the reason if this? Do you have any clue which is causing this.
Thanks,
Harsha
02/29/2024 04:41 AM
Are you trying to add servuce account ?
service account cant be added to app roles
02/29/2024 07:55 PM
Hi @rushikeshvartak , thank you for the help. No we were not adding role for service account.
Found the issue in the endpoints primary accounttype was set to particular accounttypes which went unnoticed by us. So it was outright rejecting rest of the accounttypes.
Thank you,
Harsha
02/27/2024 01:10 AM
As for workflow based on task request going , but tasktype included 2 and 7 , add access task type wont be process it going , need to include in workflow
can you try exiting account remove access flow and confirm it work i believe
02/27/2024 12:31 AM
can you share workflow ?