In your Magento store, you may have multiple admin users for different roles. For example, one admin can be responsible for managing products and inventory, and another can be responsible for marketing.
Admin users need access to specific pages of your admin panel depending on their roles. And they must be able to access only those pages. You can assign different roles to different admin users in Magento 2.
This is the second part of our tutorial series on how to manage admin users on Magento 2. Previously we discussed how to add admin users in your Magento store. The steps to add an admin user include assigning user roles to them.
In this tutorial, you’ll learn how to create new user roles.
Creating New User Roles
Step 1: Go to System => User Roles (under Permissions) from the admin panel.
You’ll see a list of existing user roles. Since you’re starting out anew, there’ll be only one user role listed by default – Administrators.
Step 2: Click on the Add New Role button to add a new user role.
You’ll be displayed a New Role form page. It has two sections that you need to fill – Role Info and Role Resources.
Step 3: Fill in the forms on the Role Info section.
- Role Information
- Role Name: Specify a descriptive name of the new user role.
- Current User Identity Verification
- Your Password: Type in your password to verify that you have the rights to add a new user role.
Step 4: Click on the Role Resources section and you’ll be displayed a list of all the resources which you can assign to the user role.
Step 5: Tick the checkboxes for resources you want to assign to your new user role. For our example, we want to create a user role for marketing. So we’ll tick the Marketing checkboxes.
Step 6: Click on the Save Role button on the top right of the page to save the new user role.
Your new user role can now be assigned to your store admin users.
This concludes our tutorial series on how to manage admin users in Magento 2.