Limit user from accessing and creating Case at account level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 08:42 AM
Hi,
I have created a Checkbox on Account Table called 'Allow Case Creation', Default value is True.
When this checkbox is unchecked or false then all contacts for the Account will not have access to view or create cases.
How can I achieve this, please suggest.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 07:55 AM
Hi @AshishKM ,
The business case for this request is that we have a need to set up a VAR who doesn't need or want access to anything but documentation.
How can I check with acl if current logged in user belong to contact for that account.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 02:31 PM
Can you please explain more about this VAR , what kind of role/access privilege this VAR has.
as you are trying to restrict the case read/create so acl should on case table, let's assume there is checkebox (assuming this at record level ) but no restriction and acl script is allowing to all.
Here the logged-in user may be contact of any account or not, in that case you have to check on all accounts. I tried to code acl based on information you shared, not sure if it will work for you.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution