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
anil kumar 151anil kumar 151 

To stop Rollup of role hierarchy for custom objects


could you please tell me the steps/procedure to Stop the Roll Up of Role Hierarchy for custom objects.
NagaNaga (Salesforce Developers) 
Dear Anil,

The answer to your question is yes, we can stop rollup of role hierarchy for custom objects.

Beyond setting the organization-wide sharing defaults for each object, you can specify whether users have access to the data owned by or shared with their subordinates in the hierarchy. For example, the role hierarchy automatically grants record access to users above the record owner in the hierarchy. By default, the Grant Access Using Hierarchies option is enabled for all objects, and it can only be changed for custom objects.

To control sharing access using hierarchies for any custom object, click Security Controls | Sharing Settings and Edit in the Organization Wide Defaults section. Deselect Grant Access Using Hierarchies if you want to prevent users from gaining automatic access to data owned by or shared with their subordinates in the hierarchies.

Please follow the below link for more info:
https://help.salesforce.com/apex/HTViewHelpDoc?id=security_controlling_access_using_hierarchies.htm&language=en

Best Regards
Naga Kiran
anil kumar 151anil kumar 151
thanks for your quick reply @ NAGA