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
ANAMIKA MONDAL 8ANAMIKA MONDAL 8 

Suppose we have two users A and B, A is above B's role hierarchy

Suppose we have two users A and B, A is above B's role hierarchyB is having access to Object C, but A doesn't.
B has created many records of Object C.
Will A be able to see those records of B?
NatsuNatsu
No. A won,t be able to see those records of B. Refer to the link below 
https://trailhead.salesforce.com/modules/data_security/units/data_security_overview
Maharajan CMaharajan C
Hi Anamika,

When above role users can't see the records means you have to check the below things:

Here you have to check the Grant Access Using Hierarchies as checked in Organization-Wide Sharing Defaults if its a custom object because you can't change the Grant Access Using Hierarchies in Organization-Wide Sharing Defaults for Standard Object if its not checked and “View All Data” and “Modify All Data” system permissions are not in above role users profile for that object means then he can't access records they don’t own in below people's.

Refer Links:
https://help.salesforce.com/articleView?id=admin_sharing.htm&siteLang=en_US&type=0
https://help.salesforce.com/articleView?id=admin_roles.htm&siteLang=en_US&type=0

Can you please Let me know if it works or not!!!

If it helps don't forget to mark this as a best answer!!!

Thanks,
​Raj