Skip to content

Commit db02088

Browse files
MAGETWO-91688: Exception when login as restricted admin with access only to CMS Block
- Add component type to data provider
1 parent 5c70bb7 commit db02088

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Cms/Ui/Component/DataProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public function prepareMetadata()
9595
'config' => [
9696
'editorConfig' => [
9797
'enabled' => false
98-
]
98+
],
99+
'componentType' => 'container'
99100
]
100101
]
101102
]

0 commit comments

Comments
 (0)