Context: User A (Finance Manager), User B (HR Manager) and User C (Ops Manager).
User A, since he is the finmanager, can access the employee info and their Payroll related documents. However he must not be able to see the employee info and Payroll related documents for Users B and C.
How could I do this? Is there a setting that “Unallow (user) if (doc : employee) is (employee name)”
Unfortunately, the Finance Manager in most cases will need to see the records of ALL employees (even User B and User C). When it comes to payroll records, currently you cannot hide individual employees information from the accounting role responsible for the payroll.
You present an interesting “use case” but it would require some custom work from a developer to make it happen.