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
Nadia Hsu 6Nadia Hsu 6 

Permission Set to Allow Users to Read Only the Records They Own in a Custom Object

Hello!

I'm going through the Data Security Module of Trailhead and have ran into some difficulties. Would really appreciate it if someone could help!

1. I have a custom object called "Reviews" and the challenge is to give certain users Create, Read, and Edit permissions to only the records they own and not let them see the records of other users.

2. There's another custom object called "Candidates". For this one, user should have the Read Only permission to the records to which they are assigned as the Interviewer (custom lookup field). 

Thanks in advance!
 
Best Answer chosen by Nadia Hsu 6
Rakesh51Rakesh51
1. Set OWD for  Reviews object to Private and through profile grant them CRE permission
2.  Set OWD for  Candidates object to private and then use Sharing rule to grant read-only access based on  interviewer (custom lookup field).