Soru

Zorluk: OrtaRole Hierarchy and Sharing Rules

A freight management company uses a custom object named Maintenance_Log__c to record vehicle maintenance events. The Organization-Wide Default (OWD) for Maintenance_Log__c is set to Private. Regional maintenance managers need to view and edit all maintenance logs created by technicians who are assigned to roles below them in the Role Hierarchy. However, managers report that they are unable to see records owned by technicians below them.

Which configuration setting should the Salesforce Administrator check first to resolve this issue?

  1. Verify that the 'Grant Access Using Hierarchies' checkbox is enabled for the Maintenance_Log__c custom object.Cevap
  2. B
    Create an owner-based sharing rule, because custom objects do not support automatic record access propagation via the Role Hierarchy.
  3. C
    Create a custom profile for regional managers with 'View All Data' enabled to grant visibility into subordinate records.
  4. D
    Change the Organization-Wide Default (OWD) setting of Maintenance_Log__c to Public Read-Only for the manager role.

Cevap

Verify that the 'Grant Access Using Hierarchies' checkbox is enabled for the Maintenance_Log__c custom object.
For custom objects, Salesforce provides the 'Grant Access Using Hierarchies' checkbox in Object Manager. While enabled by default, an administrator can uncheck it. When unchecked, users in higher roles do not gain implicit access to records owned by users in lower roles. Verifying and re-enabling this setting directly addresses the issue without requiring unnecessary sharing rules or over-privileged system permissions.

Adım Adım Çözüm

1
Analyze the access requirement
Users in roles above record owners in the Role Hierarchy need automatic access to Private custom object records.
By default, Salesforce standard objects always grant access using hierarchies, but custom objects allow this feature to be toggled on or off.
2
Identify the cause of missing hierarchy access
If 'Grant Access Using Hierarchies' is unchecked on a custom object, access does not flow upward through the Role Hierarchy.
Checking this setting restores the standard behavior where role hierarchy grants access based on record ownership by subordinates.

Anahtar Kavram

Grant Access Using Hierarchies for Custom Objects
Bu soruyu puanla