In this topic, we are going to show you how to Create a user role in Magento 2. We are going to guide you how to add a new user rule and assign an exist user account to the above role. Let’s check the following steps:
To define a role in Magento 2
- On the Admin panel, click System. In the Permissions section, select User Roles.
- In the upper-right corner, click Add New Role button
- In the Role Information field, enter a descriptive Role Name.
- In the panel on the left, choose Role Resources.
- In the Resource Access field, do the following
- Set to Custom, then mark the checkbox of each website and view to which the role is to have permission to access.
- Set to All if you want to mark all the checkbox
- When complete, click Save Role.