Skip to content

Commit c74e20e

Browse files
AC-1316 Magento 2 Integration Resources Aren't Respected
1 parent 9b1016b commit c74e20e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/Catalog/etc/acl.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<resource id="Magento_Catalog::catalog" title="Catalog" translate="title" sortOrder="30">
1313
<resource id="Magento_Catalog::catalog_inventory" title="Inventory" translate="title" sortOrder="10">
1414
<resource id="Magento_Catalog::products" title="Products" translate="title" sortOrder="10">
15-
<resource id="Magento_Catalog::update_attributes" title="Update Attributes" translate="title" sortOrder="10" />
1615
<resource id="Magento_Catalog::edit_product_design" title="Edit Product Design" translate="title" sortOrder="20" />
1716
</resource>
1817
<resource id="Magento_Catalog::categories" title="Categories" translate="title" sortOrder="20">
@@ -27,7 +26,9 @@
2726
</resource>
2827
</resource>
2928
<resource id="Magento_Backend::stores_attributes">
30-
<resource id="Magento_Catalog::attributes_attributes" title="Product" translate="title" sortOrder="30" />
29+
<resource id="Magento_Catalog::attributes_attributes" title="Product" translate="title" sortOrder="30">
30+
<resource id="Magento_Catalog::update_attributes" title="Update Attributes" translate="title" sortOrder="10" />
31+
</resource>
3132
<resource id="Magento_Catalog::sets" title="Attribute Set" translate="title" sortOrder="40"/>
3233
</resource>
3334
</resource>

app/code/Magento/Catalog/etc/webapi.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<route url="/V1/products/attributes/:attributeCode" method="PUT">
8585
<service class="Magento\Catalog\Api\ProductAttributeRepositoryInterface" method="save"/>
8686
<resources>
87-
<resource ref="Magento_Catalog::attributes_attributes" />
87+
<resource ref="Magento_Catalog::update_attributes" />
8888
</resources>
8989
</route>
9090
<route url="/V1/products/attributes/:attributeCode" method="DELETE">

0 commit comments

Comments
 (0)