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
MLamb2005MLamb2005 

Read only access of Parent record

Hi all,

I have three objects in play, one master ("Employee", which contains a page per employee) and several details.  The big issue I'm having is working out my record security and visibility.  We use lookups to the Employee object in a variety of places for resource schedule, so the Employee records must be, at minimum, Public Read Only.

We're adding a new feature to track time off requests.  Naturally, the only people who should see John Doe's time off requests are John Doe and their manager.  I cannot for the life of me figure out how to make it where everyone can see see John Doe through lookups, but only John Doe and his/her manager can go in and access the full record for John Doe (and see all the time off requests he/she has submitted).

Is what I'm talking about even possible?

Thanks,
Matt