Create a role or a role profile ​

A role is a set of permissions for one job, for example Sales User or Accounts Manager. ERPNext includes the common roles with their permissions already set. Add a role only when no standard role fits.

A role profile is a named set of roles. Give a role profile to a user to give all its roles at once. ERPNext includes these role profiles:

Role profileRoles
AccountsAccounts User, Accounts Manager
SalesSales User, Stock User, Sales Manager
PurchaseItem Manager, Stock User, Purchase User, Purchase Manager
InventoryStock User, Stock Manager, Item Manager
ManufacturingStock User, Manufacturing User, Manufacturing Manager

Prerequisites ​

  • The System Manager role.

Create a role ​

  1. Open the Role list and select Add Role.
  2. Enter the Role Name.
  3. Keep Desk Access selected if users with this role work in the desk. Clear it for a role of website users.
  4. Optional: select Two Factor Authentication to require a login code for this role.
  5. Optional: in Restrict To Domain, select a domain. The role is then active only when that domain is active.
  6. Save.

A new role has no permissions. Give it permissions in the Role Permissions Manager. See Set role permissions.

Create a role profile ​

  1. Open the Role Profile list and select Add Role Profile.
  2. Enter the Role Name of the profile.
  3. Select the roles of the profile.
  4. Save.

Then select the profile in Role Profiles on each user. When you change a role profile, the roles of its users change too.