I looked at the documentation and messed around with User Permission, Role Permissions Manager, and Workflow but could not figure it out
I have for example
I want Leave Approver A to only list, edit, and approve leaves assigned to him/her
Leave requests assigned to Leaver Approver B should not be visible to him/her
The only way I see it’s possible at the moment is to apply a filter and make it mandatory from erpnext/erpnext/hr/doctype/leave_application/leave_application_list.js
but that does not seem right.
What am I doing wrong here?