In Salesforce by role hierarchy we can manage data access, but by role hierarchy anyone having the same role has access to peers reporting user data. So how to handle scenario where Manager (Role as Team Lead) should see only his reporting users (Role as Developer) data and no other managers reporting users data?
Eg. John and Mike are Team leads. Jack's (Developer) manager is John and Elena's (Developer) manager is Mike. Now I want that records created by Jack should be only accessible to John and not Mike. Since having same role to John and Mike as Team Lead gives ability to see any others subordinates data.