In employee master, there is a section called ERPNext user and in that there is a checkbox. If you enable that then the employee will only be able to see his details like salary slip, his employee master, etc. For CEO or HR Manager, you can give a higher role like that of HR user / Manager so that they can also view their details as well as other employees.
hi @michelle thank you for the inputs. I appreciate it a lot.
Though its not the efficient solution but I found a small work around. Using the “Share permission” feature, we can allow one or more users to have edit permission.
What’s lacking in this share permission tool though is the ability to give permission level. Because the salary fields that are supposed to be viewable/editable by the employee his/herself are still hidden (permission level is implemented to hide these private fields).
Currently only read, write, and share are available in share permission.
I think being able to give permission level in the share permission feature would be a great upgrade, and provide quick solution to this requirement.
In most organization, the department head can view the employee records in that department. Create User Permission for Department so the head can view the employees. You can also restrict the doctypes.