How do I perform role-based access control (RBAC) system in ERPNEXT

I’m working on a project that involves separating HR, EDUCATION, and OTHER MODULES to have their own separate interface when users log in. I’ve been looking into role-based access control (RBAC) as a possible solution, but I’m not sure if it’s the best approach.

I’m hoping to get some feedback from the community on how to best implement this separation of modules. I’m particularly interested in hearing from people who have experience with RBAC or other similar methods.

Here are some specific questions I have:

  1. What is the best way to define and assign user roles?
  2. How can I create separate interfaces for each module?
  3. What mechanisms can I use to enforce role-based access?
  4. How can I make it easy for users to switch between roles?
  5. What are some of the challenges of implementing RBAC?

Any advice or insights you can provide would be greatly appreciated.

Thanks in advance,


Please go through the documentation: Adding Users (

Users And Permissions (

Role and Role Profile (

Role Based Permissions (

User Permissions (

Role Permission for Page and Report (

Play with your requirements after reading the documentation and if you face any specific issue or not able to achieve some specific thing as per your requirements, post it here and community member will help you.


Divyesh Mangroliya

1 Like