Is there any way to restrict a role(such as manager) from viewing the subordinate records. I as admin should share records through criteria based sharing. How can i restrict his manager(role) from viewing those records
For this requirement, I suggest making owd as private and disable grant access using hierarchies. That means, only the record owners can view the records. Later you can use criteria based sharing to grant access to specific users.
Sorry Nasreen. Unfortunately, we cant edit grant access hierarchy for standard objects. As default it will be enabled. Usualy, for this kind of scenario, admins go with custom object model.
For this requirement, I suggest making owd as private and disable grant access using hierarchies. That means, only the record owners can view the records. Later you can use criteria based sharing to grant access to specific users.
Thanks
Surya