🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Create User Role in Magento 2

By Kishor ChhuganiUpdated on May 22, 2025 3 min read

Magento 2 allows granting limited access to the admin panel for security purposes.

For restricted access, create a user role in Magento 2 with suitable permissions. Doing so, when that user logs in to the admin panel, he/she can only access the allowed sections of the admin panel.

The security of the store administration can be improved with this method. No users with ill intention can mess with the Magento 2 store functioning and management.

Also, if you are a large business where various departments are managed by different employees so that the tasks remain organized, the below solution can be helpful. For example, someone who is managing the refunds of the Magento 2 store can be given access to the credit memo section. Or the one who is managing the stock needs to bother about inventory only!

Steps to Create User Role in Magento 2:

1. Login to Magento 2 admin panel

2. Go to System > Permissions > User Role

Create User Role in Magento 2

3. Click the “Add New Role” button

Create User Role in Magento 2

4. Select Role Info under role information

5. Enter the descriptive role name

6. Enter your password under Current User Identity Verification

Create User Role in Magento 2

7. Go to Role Resources under Role Information

8. Set resource access to custom

9. Select the resource checkbox that the user role can access. For example, if only the “credit memo” resource is selected, the user role can access only the credit memo section from the admin backend.

10. Click “Save Role“.

That’s it.

Please share the solution with Magento 2 community via social media.

Thank you.

Kishor Chhugani Full Image
Article byKishor Chhugani

He is a Magento developer at Meetanshi with a jolly, extrovert, & friendly personality. He loves playing cricket and is a passionate foodie!