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
priyanshipriyanshi 

child object security settings

i have a master object with private sharing settings i.e. it has only read only access.

the child object's records should also be read only then. however other users r able to edit the record. why is that so? can anyone explain how to correct this?

Starz26Starz26

Two Question:

 

1. Are you sure that it is "Master-Detail" and Not a lookup relationship?

2. Does the users that can edit have modify all permissions on the parent (if master-detail)

priyanshipriyanshi

hi

yes i am sure it is master detail and not lookup

no the users have read,create,edit and delete permissions but not modify all permission.

 

Starz26Starz26

Did you ever get this resolved?

sfdcfoxsfdcfox

On the master-detail relationship, make sure that the Sharing Setting is set to Read/Write. This will ensure that Force.com won't allow users to edit the child record unless they can also edit the parent record.