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
SHKSHK 

Role Hierarchy for Opportunity Team Sharing ??

If I share an opportunity with a user via opportunity team, only the user will have access or his role hierarchy has access as well?
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,

If you share Opportunity or any standard object record with a user or his role.All users in above hierarchy will have access to that record.
you can disable the Grant Access Using Hierarchies option for a custom object.But You can't remove Grant Access Using Hierarchies for standard objects.

Please refer the below link for reference.
https://help.salesforce.com/articleView?id=salesteam_def.htm&type=0

Hope it will be helpful.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar