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 profile | Roles |
|---|---|
| Accounts | Accounts User, Accounts Manager |
| Sales | Sales User, Stock User, Sales Manager |
| Purchase | Item Manager, Stock User, Purchase User, Purchase Manager |
| Inventory | Stock User, Stock Manager, Item Manager |
| Manufacturing | Stock User, Manufacturing User, Manufacturing Manager |
Prerequisites
- The System Manager role.
Create a role
- Open the Role list and select Add Role.
- Enter the Role Name.
- Keep Desk Access selected if users with this role work in the desk. Clear it for a role of website users.
- Optional: select Two Factor Authentication to require a login code for this role.
- Optional: in Restrict To Domain, select a domain. The role is then active only when that domain is active.
- Save.
A new role has no permissions. Give it permissions in the Role Permissions Manager. See Set role permissions.
Create a role profile
- Open the Role Profile list and select Add Role Profile.
- Enter the Role Name of the profile.
- Select the roles of the profile.
- Save.
Then select the profile in Role Profiles on each user. When you change a role profile, the roles of its users change too.