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