Commit 2077f88a authored by Patrick Müller's avatar Patrick Müller

fix: consider 'global' permission area when fetching permission list for user or groups

parent b9429652
......@@ -472,6 +472,16 @@ class Manager
continue;
}
switch ($area) {
case 'user':
case 'groups':
if ($params['area'] == 'global') {
$result[$key] = $params;
continue 2;
}
break;
}
if (empty($params['area'])
&& ($area == 'user' || $area == 'groups')
) {
......
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