We are trying to allow the following restriction for an employee (Employee A) who is also a Leave Approver :
- For Leave Application : Can view his own (Employee A), can view Employee B who reports to him.
- For Salary Slip : Can view only his own (Employee A).
Thus, when we are assigning restrictions at the Role Permission Manager,
For Leave Application, for the role of Leave Approver, Apply User Permissions -> If Employee is permitted
For Salary Slip, for the role of Employee, Apply User Permissions -> If Employee is permitted
and under User Permission Manager,
For the user Employee A, he is restricted to Employee A (himself) and Employee B (employee who reports to him)
However, since employee is permitted to be view Employee B, he is able to view his Salary Slip as well. We only want Employee A to view Employee B’s Leave Application, not Employee B’s Salary Slip and other Employee B transactions.
Kindly advice or do feel free to inquire if further elaboration is required.