0

I make a user role that needs to create a configurable product, to do this I need to give him the ACL for Store/Attribute/product.

But I don't want to let him create / add / delete an attribute, so I remove the create new attribute button in the configuration panel.

There is still one problem, the user can go to Store > Attribute > Product menu.

How can I make it invisible for my user role?

1 Answer 1

1

Magento 2 provide us "User Roles" for this issue.

1) Create new User Roles

2) Assign Resources like the image below to disable Store > Attribute > Product

enter image description here

This will be disabled Store > Attribute > Product Menu and when you add configurable product. User can't click button Add Attributes

You can reference this document

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.