I am new to Salesforce, and need an advise.
We are planning to create a custom object and custom tab for it. Now, we want user to be able to access only his/her record, or records related to him. For example, student can only see his record, but professor can see all his/her records. Can I do it with sharing?
Thanks, V.
EDIT 1
I created two roles:
I assigned roles to users:
The object has default access as Private and allows hierarchy:
I created two records, one with Student ownership, and one with Instructor ownership:
and
I would expect that student can only see his record and Instructor can see both records. However, in my case both user can see both records. I do not understand what is wrong in my setup. Thanks:
and