Skip to content

Commit 148cd4c

Browse files
author
Bryant Luk
committed
MAGETWO-36064: Add ACL configuration to CatalogInventory attributes of the ProductInterface
- Comment out configuration since we need to wait for a merge from a different team and this will cause web APIs to fail because there is no extension attribute for stock_item yet.
1 parent 4d7743c commit 148cd4c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/CatalogInventory/etc/service_data_attributes.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Api/etc/service_data_attributes.xsd">
99
<extension_attributes for="Magento\Catalog\Api\Data\ProductInterface">
10+
<!--
11+
Once this is merged with the branch with the CatalogInventory integration, need to make sure the permission
12+
below is actually used.
1013
<attribute code="stock_item" type="Magento\CatalogInventory\Api\Data\StockItemInterface">
1114
<resources>
1215
<resource ref="Magento_CatalogInventory::cataloginventory"/>
1316
</resources>
1417
</attribute>
18+
-->
1519
</extension_attributes>
1620
</config>

0 commit comments

Comments
 (0)