Set view only for related users

Hi
I’m processing payroll in Frappe HRMS. When a salary slip is created for an employee, it is also visible to the user’s reporting manager. However, the salary slip should only be visible to the employee who is logged in.

Hi @PranethaaVinoth

ensure salary slips are only visible to the employee, modify the role permissions in Role Permissions Manager to restrict viewing access to the “Employee” role and remove it for other roles like the “Reporting Manager.” You can also set up User Permissions so that each employee only has access to their own salary slip. This will ensure privacy for salary slip visibility.