User Permission Issue in Employee

Hello Team;
I have facing user permission issue in frappe HR version-15.
Employee A is Manager - EMP B, C is report to Employee A.
Employee D is report to xyz Manager . But Emp D is showing inside the Employee A emp list without any user permission given to emp A.

is there any setting i have missing?

@Shubham.shinde

Please check reports to field in employee D.

alredy check 10 times

@Shubham.shinde
In ERPNext, this is happening because no proper User Permission is set, so the system is showing employees based on role access instead of restricting it. To fix it, go to User Permission, create a new record for Employee A’s user, set Allow = Employee and For Value = Employee A (their own employee record). After that, go to Role Permission Manager, open the Employee doctype, and make sure “Apply User Permissions” is enabled for that role. Once this is done, the system will stop showing unrelated employees like Employee D and will only show records allowed through user permission

i do not found any apply user permission enable in role permission mamager