magento2: Cannot save product in store view scope without Magento_Catalog::edit_product_design ACL
Preconditions
- Magento Open Source 2.4-develop from GitHub (6b6f428c4b938c209658eb5d75d84b72503cbce0);
- Default installation without sample data;
- A second website+store+store view is configured;
Steps to reproduce
- Under System > Permissions > User Roles, create a new role with the entire
Catalogtree selected, except forCatalog > Inventory > Products > Edit Product Design;

- Create a user assigned to this new role and log into the backend with it;
- Add a simple product with title
test 1. UnderProducts in Websites, select both websites. Save the product; - Still in the product edit form, change the scope to the second store view;
- Under the
Designtab, check that you are indeed not allowed to change the attributes (fields are disabled):

- For the Name field, uncheck the
Use Default Valueoption and give it a new name (i.e.:test 2); - Save the product;
Expected result
- The new name was saved for the selected store view;
Actual result
Not allowed to edit the product's design attributeserror.

The same happens for other fields, like product name or description.
Additional information
- steps with screens on the latest
2.4-develophttps://github.com/magento/magento2/issues/28106#issuecomment-625654478
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 25 (16 by maintainers)
@kassner
The issue was closed by mistake. at this moment Magento team has fixed it, internal PR is ready(CR and QA passed) but not merged into the main code-base. As soon as it will be merged related commits can be found using search based on internal ticket key
MC-34156Example: https://github.com/magento/magento2/search?q=MC-34156&type=commitsSorry for inconvenience