Click HERE to see how Saviynt Intelligence is transforming the industry. |
12/27/2023 05:52 AM - edited 12/27/2023 11:59 PM
Hi Team,
We have a requirement like below,
If we have an enterprise role with a combination of entitlements where one of the entitlement is for the GitHub application. If the requester has a GitHub Account that is disabled, How can we block a request for an enterprise role?
Solved! Go to Solution.
12/27/2023 09:07 PM
Hello @CSR,
You can achieve it Via Workflow by checking the status of the account using the below statement in if-else block , Language should be groovy.
(com.saviynt.ecm.identitywarehouse.domain.Users.executeQuery("select u.id from Users u,User_accounts ua, Accounts a where u.id=ua.userkey AND ua.accountkey = a.accountkey AND a.endpointkey = <endpointkey> AND a.status in ('Manually Provisioned','Active','1') AND u.id='${requestedby.id}'").size()!=0)
In this way you can reject the request.
Thanks.
12/27/2023 09:50 PM
how you will find endpoint key ? enterprise role can contains multiple endpoints entitlement
01/10/2024 08:43 PM
Above query will not work as all tables are not exposed.
As discussed with @prasannta , This will needs to be idea ticket
https://ideas.saviynt.com/ideas/EIC-I-5406