We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506d500 commit c7abab1Copy full SHA for c7abab1
lib/internal/Magento/Framework/View/Element/UiComponentFactory.php
@@ -147,6 +147,14 @@ protected function createChildComponent(
147
}
148
$components = array_filter($components);
149
$componentArguments['components'] = $components;
150
+
151
+ /**
152
+ * Prevent passing ACL restricted blocks to htmlContent constructor
153
+ */
154
+ if (isset($componentArguments['block']) && !$componentArguments['block']) {
155
+ return null;
156
+ }
157
158
if (!isset($componentArguments['context'])) {
159
$componentArguments['context'] = $renderContext;
160
0 commit comments