Skip to content

Commit 50e2600

Browse files
ENGCOM-5299: Move Quote related Plugins to correct module #23174
2 parents b82160a + 3e4d686 commit 50e2600

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

app/code/Magento/Quote/etc/webapi_rest/di.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
</type>
1212
<type name="Magento\Quote\Model\QuoteRepository">
1313
<plugin name="accessControl" type="Magento\Quote\Model\QuoteRepository\Plugin\AccessChangeQuoteControl" />
14+
<plugin name="authorization" type="Magento\Quote\Model\QuoteRepository\Plugin\Authorization" />
1415
</type>
1516
</config>

app/code/Magento/Quote/etc/webapi_soap/di.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
</type>
1212
<type name="Magento\Quote\Model\QuoteRepository">
1313
<plugin name="accessControl" type="Magento\Quote\Model\QuoteRepository\Plugin\AccessChangeQuoteControl" />
14+
<plugin name="authorization" type="Magento\Quote\Model\QuoteRepository\Plugin\Authorization" />
1415
</type>
1516
</config>

app/code/Magento/Sales/etc/webapi_rest/di.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
9-
<type name="Magento\Quote\Model\QuoteRepository">
10-
<plugin name="authorization" type="Magento\Quote\Model\QuoteRepository\Plugin\Authorization" />
11-
</type>
129
<type name="Magento\Sales\Model\ResourceModel\Order">
1310
<plugin name="authorization" type="Magento\Sales\Model\ResourceModel\Order\Plugin\Authorization" />
1411
</type>

app/code/Magento/Sales/etc/webapi_soap/di.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
9-
<type name="Magento\Quote\Model\QuoteRepository">
10-
<plugin name="authorization" type="Magento\Quote\Model\QuoteRepository\Plugin\Authorization" />
11-
</type>
129
<type name="Magento\Sales\Model\ResourceModel\Order">
1310
<plugin name="authorization" type="Magento\Sales\Model\ResourceModel\Order\Plugin\Authorization" />
1411
</type>

0 commit comments

Comments
 (0)