How to restrict a Security Role accessing certain records(Account) based on its related record Option Set field value.
Example:
We have 2 entities Account and Contact.
Where contact is a lookup on Account entity.
Need to restrict Users having a specific Security Role accessing Account records when contact (lookup field ) Optionset field set to YES (field Confidential = YES ).
Ideally, Security role assigned to user have Org level Read Access to Account entity.
Any help on this would be great.
Thank you
Thanks for your response.
Can we restrict a Security Role accessing a certain Records(Account) even though it have Global level Read Access to the (Account)Entity. If so, Could you please share some reference or a snippet that I can use to restrict accessing record.
Once again thank you for the response.
Hi,
You'll need to develop a retrieve and multiple retrieve plugin to restrict access to accounts that meet the criteria you want. I don't see another way without using the code.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156