Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Blocking Enterprise role request

Seshadri
New Contributor III
New Contributor III

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?

3 REPLIES 3

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @Seshadri,

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.

If you find the above response useful, Kindly Mark it as "Accept As Solution".

how you will find endpoint key ? enterprise role can contains multiple endpoints entitlement


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

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 


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