Limit the modules a user sees ​

A user sees the modules that their roles give access to. To keep the desk simple, you can also block modules for one user. To protect data, remove roles and permissions.

INFO

Older ERPNext versions had a Show or Hide Modules page. It is not available from version 15. Use the controls on this page instead.

Prerequisites ​

  • The System Manager role.

Choose the right control ​

GoalControl
Hide modules from one userAllow Modules or a Module Profile on the user
Stop a user from opening a documentRemove the role, or change the role permissions
Limit a user to some records, such as one companyUser permissions
Turn off an industry for the whole siteDomain Settings
Change how a module worksThe settings page of the module

Block modules for one user ​

  1. Open the User list and open the user.
  2. Open the Roles & Permissions tab.
  3. In Allow Modules, clear the modules that the user does not need.
  4. Save.

Use a module profile for many users ​

A module profile is a saved list of blocked modules.

  1. Open the Module Profile list and select Add Module Profile.
  2. Enter the Module Profile Name, for example Sales team.
  3. Clear the modules that the users do not need.
  4. Save.
  5. On each user, select the profile in Module Profile.

Check access, not only the sidebar ​

A hidden module removes links from the desk. It does not stop a user who has the role from opening a document through the search bar or a direct link. Log in as the user, or as a user with the same roles, and try to open a document of the hidden module. If the user must not open it, remove the role or the permission.

Troubleshooting ​

Hiding a module does not change permissions. Remove the role or the role permission of that document.

A user has the right role but sees too many records ​

Add user permissions, for example on Company or Territory.