There are two custom objects in a Master Detail Relationship:
- Employees (Detail object)
- Projects (Master object)
I built a custom profile that consists of user1, and the object level permissions for both the above objects is set to Read, Create, Edit, Delete only.
View All and Modify All is unchecked for both the objects
In the Sharing Settings(OWD), both the objects are set to public read/write.
Now user1 tries to access the Projects(Master) object and is not able to delete a record created by another user(admin).
Now user1 tries to access the Employees(detail) object and is able to delete a record created by another user(admin).
I don't understand why is this difference coming up?
As per my understanding whatever settings are applied to the Master object will get reflected to the detail object as well, that means if user1 is not able to delete a record of another user in Projects object then the same behaviour must be in Employees object, but it is not happening like that.