1 parent 0eedf37 commit 0632e49Copy full SHA for 0632e49
1 file changed
src/Controller/Component/AuthorizationComponent.php
@@ -143,9 +143,8 @@ protected function performCheck(
143
$action = $this->getDefaultAction($request);
144
}
145
146
- if (in_array($action, $this->_config['skipAuthorization'])) {
147
- $this->getService($request)->skipAuthorization();
148
-
+ $this->authorizeAction();
+ if ($this->getService($request)->authorizationChecked()) {
149
return true;
150
151
0 commit comments