mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
WIP
This commit is contained in:
parent
ffd187f58f
commit
7675d46c23
@ -133,8 +133,16 @@ class TestController extends CompatController
|
||||
|
||||
$userQueries = [];
|
||||
foreach ($roles as $username => $restrictions) {
|
||||
if (substr($username, 0, 1) === '_') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$filter = \ipl\Stdlib\Filter::any();
|
||||
foreach ($restrictions as $restriction) {
|
||||
if (substr($restriction, 0, 1) === '_') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$filter->add(QueryString::parse($restriction));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user