function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mxravimxravi 

Private on Case. Need access for the case creator who is not case owner.

Private Sharing Settings on Case object. 

 

Case creator should be able to change a checkbox field where as case owner should not be able to do this. 

 

NikhilNikhil

You can write a small trigger on case object .. on event update/insert

 

1 here u can check if the checkbox valus is changed and set to true or not ...

2 if changed and if the logged in user = createdbyuser

3 if yes then dont do anything.

4 else show a error ... "you are not authrized to change the checkbox value."