Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

SAV Role Whom to Request - Advanced Filter for One-Click Disable

logben
New Contributor
New Contributor

Hi all,

We have created a copy of the SAV role ROLE_SAV_MANAGER to make some changes to. One of the changes we want to make is to enable one-click disable for managers with this role and ONLY show the managers a list of their ACTIVE CONTRACTOR direct reports when they go to one-click disable.

In the "Whom to Request" setting of the SAV role's details, I am aware of the option "request for self and uses retrieved from advanced filter" that prompts you for an HQL or JSON query. Writing a query to select users of a specific employee type and active status is straightforward, but I am not sure what to add in the query to also ensure these active contractors are DIRECT REPORTS of the logged-in manager.

Any guidance would be helpful, thank you.

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Refer https://forums.saviynt.com/t5/identity-governance/limit-custom-sav-role-for-one-click-disable/m-p/86...

https://forums.saviynt.com/t5/tag/Whom%20to%20Request/tg-p

 

{"for": "OneClickDisable","query":"select a from Users a where
a.manager='${users.id}' and a.status=1 and a.employeetype='Contractor'"}]


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.