Commit 249c74c6 authored by Ad Schellevis's avatar Ad Schellevis

(mvc/acl) validate before use of system tag

parent 48995d12
......@@ -153,6 +153,7 @@ class ACL
// gather user / group data from config.xml
$config = Config::getInstance()->object() ;
if ($config->system != null) {
foreach ($config->system->children() as $key => $node) {
if ($key == 'user') {
$this->legacyUsers[$node->name->__toString()] = array() ;
......@@ -171,6 +172,7 @@ class ACL
$groupmap[$node->name->__toString()] = $node ;
}
}
}
// interpret group privilege data and update user data with group information.
foreach ($groupmap as $groupkey => $groupNode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment