Role-based access with scopes
Every action requires a specific permission. Each permission can be granted for the whole organisation, a department, a team, or only the employee's own records, so a manager sees their team and an employee sees only themself.