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 20e949f commit 8945c6dCopy full SHA for 8945c6d
app/code/Magento/Ui/Controller/Adminhtml/Index/Render/Handle.php
@@ -77,11 +77,11 @@ private function validateAclResource($dataProviderConfigData)
77
$aclResource = isset($dataProviderConfigData['arguments']['data']['acl'])
78
? $dataProviderConfigData['arguments']['data']['acl']
79
: false;
80
- if ($aclResource !== false && !$this->_authorization->isAllowed($aclResource)
81
- ) {
+ if ($aclResource !== false && !$this->_authorization->isAllowed($aclResource)) {
82
if (!$this->_request->isAjax()) {
83
$this->_redirect('admin/denied');
84
}
+
85
return false;
86
87
0 commit comments