How do i give record rule for leaves module when manager logins, he can be accessible to view the employees who are requested for leave belonging to his department.
And manager of other department cannot view the leave request created by an employee
Thanks in advance