Skip to content

Commit 8945c6d

Browse files
committed
MAGETWO-95364: Magento\Ui\Controller\Adminhtml\Index\Render\Handle controller
1 parent 20e949f commit 8945c6d

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/Controller/Adminhtml/Index/Render

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/Controller/Adminhtml/Index/Render/Handle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ private function validateAclResource($dataProviderConfigData)
7777
$aclResource = isset($dataProviderConfigData['arguments']['data']['acl'])
7878
? $dataProviderConfigData['arguments']['data']['acl']
7979
: false;
80-
if ($aclResource !== false && !$this->_authorization->isAllowed($aclResource)
81-
) {
80+
if ($aclResource !== false && !$this->_authorization->isAllowed($aclResource)) {
8281
if (!$this->_request->isAjax()) {
8382
$this->_redirect('admin/denied');
8483
}
84+
8585
return false;
8686
}
8787

0 commit comments

Comments
 (0)