What access would a junction object have if one master object has read-write access while the other master object has read access through the sharing rules with organization-wide defaults private for both master objects?
-
If I am not wrong, there is the primary relationship and this relationship is responsible by the sharing level.– m PeixotoApr 17, 2019 at 10:38
-
3Yes, I think it is defined by the Primary relationship of Master-Detail Relationship on junction object. The first relationship you create, that's the Primary, the second one is Secondary. More details here: help.salesforce.com/…– Štěpán VítečekApr 17, 2019 at 12:38
2 Answers
The Junction Object (Child) will inherit sharing settings from it's primary Master, the one which was associated first to it.
The right answer is least permissive will win
Lets say Object A is a Junction between B and C
If the User have Public RW on B and No Access on C
Access on Object A will be No Access