Skip to content

Commit 4520b1f

Browse files
author
Sergii Kovalenko
committed
MAGETWO-62030: Restricted Admin User mustn't see info from other store
1 parent d00dcdb commit 4520b1f

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
/**
3+
* Copyright © 2016 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
namespace Magento\Customer\Model\ResourceModel\Grid;
8+
9+
/**
10+
* Class Collection
11+
* Collection for order related documents to display grids on order view page
12+
*/
13+
class Collection extends \Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult
14+
{
15+
}

app/code/Magento/Customer/etc/di.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@
176176
<argument name="entitySnapshot" xsi:type="object">EavVersionControlSnapshot</argument>
177177
</arguments>
178178
</type>
179-
<virtualType name="Magento\Customer\Model\ResourceModel\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
179+
<type name="Magento\Customer\Model\ResourceModel\Grid\Collection">
180180
<arguments>
181181
<argument name="mainTable" xsi:type="string">customer_grid_flat</argument>
182182
<argument name="resourceModel" xsi:type="string">Magento\Customer\Model\ResourceModel\Customer</argument>
183183
</arguments>
184-
</virtualType>
184+
</type>
185185
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
186186
<arguments>
187187
<argument name="collections" xsi:type="array">

0 commit comments

Comments
 (0)