ADM-201 · Question #106
Ursa Major Solar has a private sharing model on opportunities. Leadership has asked the administrator to create a new custom object that will track customer payment information and will link to the…
The correct answer is C. A master-detail relationship with profile permissions. To ensure the child records inherit sharing from the parent opportunity, a master-detail relationship is required, with access controlled by profile permissions on the child object.
Question
Ursa Major Solar has a private sharing model on opportunities. Leadership has asked the administrator to create a new custom object that will track customer payment information and will link to the opportunity. Only those users with access to the opportunity should be able to see the records on the new object. What should the administrator create to achieve this goal?
Options
- AA lookup relationship with profile permissions
- BA lookup relationship with a criteria-based sharing rule
- CA master-detail relationship with profile permissions
- DA master-detail relationship with a criteria-based sharing rule
How the community answered
(39 responses)- A5% (2)
- B15% (6)
- C72% (28)
- D8% (3)
Why each option
To ensure the child records inherit sharing from the parent opportunity, a master-detail relationship is required, with access controlled by profile permissions on the child object.
A lookup relationship does not automatically inherit sharing from the parent object; explicit sharing rules or other mechanisms would be needed.
A lookup relationship does not inherit sharing, and while criteria-based sharing rules could be used, a master-detail relationship is the most efficient and declarative way to achieve the desired sharing inheritance.
A master-detail relationship automatically inherits the sharing and security settings from the master (parent) record to the detail (child) record, meaning if a user has access to the opportunity, they will have access to the related payment information records. Profile permissions then control the specific CRUD operations users can perform on the child object once they have access to the record via the parent.
While a master-detail relationship ensures sharing inheritance, criteria-based sharing rules are not needed for the child object itself in this scenario, as its sharing is governed by the parent. Profile permissions define what actions a user can take on the record once they have access.
Concept tested: Master-detail relationship sharing inheritance
Source: https://help.salesforce.com/s/articleView?id=sf.overview_of_custom_object_relationships.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.