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
RIteshMRIteshM 

Setting the Custom Object sharing Default access to Controlled By Parent

i have a custom object whose default Access is Public Read/Write i have to change it to Controlled By Parent . how to accomplish tha ??

Rahul_sgRahul_sg
This is possible only if this custom object has a master-detail relationship with another object (Parent)
sandeep@Salesforcesandeep@Salesforce

For this you need to create a Master Object for this current object so automatically Sharing setting would be set "Control by Parent".

Deepak Kumar ShyoranDeepak Kumar Shyoran

There are two cases mention below

 

1- First if the custom object have a master-details relationship then the child security will always follow the parent.

 

2 -And in second case when child is a standard lookup relationship, then the child can have it's own security model.

 

 

Please give kudus by hitting on star if this post help you and mark my post as a answer for your question so that it will be available as a solution for other for same type of problem .

 

Saravanan Sivalingam 1Saravanan Sivalingam 1
Hi Deepak Kumar Shyoran, If I dont have a access for the parent, what will happen for the child creation. If the child object is parent of another object.