ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Restrict employee to only his data except a few doctypes


#1

I want to restrict employees to their own data which is done by ‘create user permissions’ but I want them to see leave applications of employees working under him. I can find that either we see all the data or nothing, if any code modifications are possible then let me know to make this work.
Inshort an employee can see only and only leave applications of employees working under him nothing else