Limit user from accessing and creating Case at account level.

gagan12
Tera Contributor

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.

6 REPLIES 6

gagan12
Tera Contributor

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.

 

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.

 

 

AshishKMishra_1-1698960596475.png

 

 

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution