monitoring: Ignore restrictions if user has the wildcard restriction

resolves #9830
This commit is contained in:
Eric Lippmann 2015-08-04 16:28:45 +02:00
parent 064e821383
commit 0e14cb48da
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ class Controller extends IcingaWebController
));
foreach ($this->getRestrictions($restriction) as $filter) {
if ($filter === '*') {
return $view;
}
try {
$restrictions->addFilter(Filter::fromQueryString($filter));
} catch (QueryException $e) {