Let's say we want administrators with the "Leave Approver" role to be able to only access leave applications of employees that belong to their department.
This is a common use-case in many companies, and with some quick configurations, we can achieve it in easily OneOfficeERP.
In company "SX4", let's consider Chris as the Leave Approver for department, "Research And Development". With this configuration, Chris will only be able to view Leave Applications raised by his department.
While adding the "Employee" permission for Chris, just keep Leave Application unchecked, so that Chris has access to only view other employees
Now, let’s say, we have an employee called Pepper working in the "Research and Development" Department.