{"id":1274,"date":"2020-10-03T02:30:58","date_gmt":"2020-10-03T02:30:58","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/10\/03\/create-user-role-in-magento-2\/"},"modified":"2025-07-17T10:30:43","modified_gmt":"2025-07-17T05:00:43","slug":"create-user-role-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/create-user-role-in-magento-2\/","title":{"rendered":"How to Create User Role in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Magento 2\u00a0allows granting limited access to the admin panel for security purposes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For restricted access,&nbsp;create a user role in Magento 2&nbsp;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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Create User Role in Magento 2:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. <strong>Login<\/strong>&nbsp;to Magento 2 admin panel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Go to&nbsp;<strong>System &gt; Permissions &gt; User Role<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Create-User-Role-in-Magento-2.png\" alt=\"Create User Role in Magento 2\" class=\"wp-image-10650\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3. Click the&nbsp;<strong>\u201cAdd New Role\u201d<\/strong>&nbsp;button<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Create-User-Role-in-Magento-2-1.png\" alt=\"Create User Role in Magento 2\" class=\"wp-image-10651\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">4. Select&nbsp;<strong>Role Info<\/strong>&nbsp;under&nbsp;<strong>role information<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Enter the descriptive&nbsp;<strong>role name<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Enter your password under&nbsp;<strong>Current User Identity Verification<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/09\/Create-User-Role-in-Magento-2-2.png\" alt=\"Create User Role in Magento 2\" class=\"wp-image-10652\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">7. Go to&nbsp;<strong>Role Resources<\/strong>&nbsp;under&nbsp;<strong>Role Information<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">8. Set&nbsp;<strong>resource access<\/strong>&nbsp;to custom<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">9. Select the&nbsp;<strong>resource<\/strong>&nbsp;checkbox that the user role can access. For example, if only the \u201ccredit memo\u201d resource is selected, the user role can access only the credit memo section from the admin backend.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">10. Click \u201c<strong>Save Role<\/strong>\u201c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please share the solution with Magento 2 community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento 2\u00a0allows granting limited access to the admin panel for security purposes. For restricted access,&nbsp;create a user role in Magento 2&nbsp;with suitable permissions. Doing so,&#8230;<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1274","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1274"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1274\/revisions"}],"predecessor-version":[{"id":14665,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1274\/revisions\/14665"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}