Hi i created a new group called Employee Only as in below picture.
https://imgur.com/UUr3Nk3
and applied the record rules
https://imgur.com/2hZEPfT
this shows only the profile of the logged in user in the employees.
but getting the error when i click on the employee. but some employees can view their profiles well. without error.
https://imgur.com/uZY2mn2
I figured out that it gives error when it tries to access the parent_id
what record rule should be applied or access rights. so that it allows it's (employee's) to access its parent_id ( manager)