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
Scott.MScott.M 

Public Read/Only Master and Private Detail

Is there any way to have a Master-Detail relationship where any profile can view the master object but the detail objects are private to only their owners and not event accesable to the owner of the Master object?
Best Answer chosen by Admin (Salesforce Developers) 
melissapgpmelissapgp

No, because child records do not have separate owners.  Child record owners are the same as the Master record's.

 

One option to consider is doing a lookup instead of Master-Child.

All Answers

melissapgpmelissapgp

No, because child records do not have separate owners.  Child record owners are the same as the Master record's.

 

One option to consider is doing a lookup instead of Master-Child.

This was selected as the best answer
Scott.MScott.M

Thanks, that's what I ended up doing. It's a shame though because the objects really are master detail so I lose some of the master detail functionality like deletion of the children on deletion of the parent.

 

Scott