Skip to content

Commit bf929aa

Browse files
author
Oleksandr Gorkun
committed
MC-13958: Additional Permissions for Design settings
1 parent 8488474 commit bf929aa

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed

app/code/Magento/Cms/Model/Page/DataProvider.php

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -113,32 +113,10 @@ public function getMeta()
113113
if (!$this->auth->isAllowed('Magento_Cms::save_design')) {
114114
$designMeta = [
115115
'design' => [
116-
'children' => [
117-
'page_layout' => [
118-
'arguments' => [
119-
'data' => [
120-
'config' => [
121-
'disabled' => true,
122-
]
123-
]
124-
]
125-
],
126-
'layout_update_xml' => [
127-
'arguments' => [
128-
'data' => [
129-
'config' => [
130-
'disabled' => true,
131-
]
132-
]
133-
]
134-
],
135-
'custom_theme' => [
136-
'arguments' => [
137-
'data' => [
138-
'config' => [
139-
'disabled' => true,
140-
]
141-
]
116+
'arguments' => [
117+
'data' => [
118+
'config' => [
119+
'disabled' => true
142120
]
143121
]
144122
]

0 commit comments

Comments
 (0)