Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/23/2022 10:23 AM
Hi Team,
How to check whether a particular entitlement is assigned to the user or not in the grant access json of a DB type connection
Scenario -
We have two requestable entitlemment on the request form
1. Read Only
2. Read and Write
When user select 'Read Only' then 'Read and Write' should be removed and vice-versa.
We cannot use 'Remove Task for Existing Entitlements' in 'Create Task Action' under entitlement type because this will create the remove access task for all other entitlements. We don't want to remove any other entitlements assigned to the users we just want to remove 'read only' if user selects 'read and write' at the time of request and vice-versa.
Solved! Go to Solution.
05/23/2022 11:16 AM
Below logic should work
05/25/2022 03:26 AM
Hi Rushikesh,
We can get the entitlement_value using ${task.entitlement_valuekey.entitlement_value} similarly how to check in grant access json if a particular entitlement is assigned on an account or not.
05/25/2022 04:15 AM
As far as i know getting existing entitlement with account will be hard as we can't query saviynt from application connection.
Even if saviynt provides all existing entitlement it will be map. How you will identify which to remove?
You need to compare the entitlement requested is for add/remove vs existing entitlement.
Considering your example i thought you have only 2 entitlement.
Alternative solution create actionable report & add into chain jon after wsretry / daily to find if entitlement x is there then remove entitlement y & vice versa
05/25/2022 05:40 AM - edited 05/25/2022 05:40 AM
Hi Vermark,
Greetings and Good day to you.
Considering your use-case of having two requestable entitlemment on the request form
1. Read Only
2. Read and Write
When user select 'Read Only' then 'Read and Write' should be removed and vice-versa.
For the above scenario to work,
Create a distinct entitlement type which has Read-Only and Read-Write as the only two entitlements under that category.
Try to evaluate the option Single Select from the drop down for that distinct entitlement type. The user is allowed to select one option only. If the user chooses Read-Only, and if the user has Read-Write access already, automatically a revoke task will be created for that and add access task will be created for the new entitlement.
The specific entitlements have to be managed as a different entitlement type.
Try out designing the entitlements in such a way that we are allowing Single Select From Drop Down as the request option for the entitlement Type.
The Add Access / Revoke Access has to be managed depending on the entitlement Type. Try out the recommendation mentioned here and post if you are still facing the issues.
05/28/2022 11:46 AM
Thanks you Rajesh.