|
@@ 233-236 (lines=4) @@
|
| 230 |
|
$parsedAcl = []; |
| 231 |
|
|
| 232 |
|
// check global ACL access rights |
| 233 |
|
if (isset($acl[$this->_allSign])) { |
| 234 |
|
$parsedAcl[$this->_allSign] = $this->_iterateAccessRights($acl[$this->_allSign]); |
| 235 |
|
unset($acl[$this->_allSign]); |
| 236 |
|
} |
| 237 |
|
|
| 238 |
|
// iterate through controllers and format role authorization |
| 239 |
|
foreach ($acl as $controller => $actions) { |
|
@@ 242-245 (lines=4) @@
|
| 239 |
|
foreach ($acl as $controller => $actions) { |
| 240 |
|
$parsedAcl[$controller] = []; |
| 241 |
|
// check controller-wide access rights |
| 242 |
|
if (isset($actions[$this->_allSign])) { |
| 243 |
|
$parsedAcl[$controller][$this->_allSign] = $this->_iterateAccessRights($actions[$this->_allSign]); |
| 244 |
|
unset($actions[$this->_allSign]); |
| 245 |
|
} |
| 246 |
|
|
| 247 |
|
// check controller actions' access rights |
| 248 |
|
foreach ($actions as $action => $roles) { |