Hello,
I am trying to Apply some security controls on global views level for account and conatct entities on the retrieveMultiple request. what is the correct way to do so?
Thank you
Hi Greetings !
you can easily acheive this requirement using retrieveMultiple request.
you can get the context user on loading of that global view and fetch respetive security role of that respective user.
if the role satisfy your need then you can show the records or else you can add a condition expression through code to display only relevant records.
check below it will give you a completed idea on how to acheive this.
Hello,
As a first attempt, you should try with the OOB security roles permissions; however, if you need additional custom security, you can add a plugin that will be triggered on the message "RetrieveMultiple" of the entity.
You can check the following links:
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156