I’m encountering a challenge in ERPNext regarding transferring user permissions, roles, and document access from an employee who has left the organization to a new user. When an employee exits the organization, it’s crucial to smoothly transition their responsibilities to a replacement. This involves duplicating their role, permissions, and document access to maintain workflow continuity, including conditions such as “doc.user == frappe.session.user” at the document level.
Could someone kindly advise on the most efficient method to accomplish this in ERPNext? Any insights or guidance on best practices for this process would be greatly appreciated.
Thank you.