This commit is contained in:
Johannes Meyer 2022-09-01 13:03:50 +02:00
parent ffd187f58f
commit 7675d46c23

View File

@ -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));
}