mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
monitoring: Ignore restrictions if user has the wildcard restriction
resolves #9830
This commit is contained in:
parent
064e821383
commit
0e14cb48da
@ -72,6 +72,9 @@ class Controller extends IcingaWebController
|
|||||||
));
|
));
|
||||||
|
|
||||||
foreach ($this->getRestrictions($restriction) as $filter) {
|
foreach ($this->getRestrictions($restriction) as $filter) {
|
||||||
|
if ($filter === '*') {
|
||||||
|
return $view;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
$restrictions->addFilter(Filter::fromQueryString($filter));
|
$restrictions->addFilter(Filter::fromQueryString($filter));
|
||||||
} catch (QueryException $e) {
|
} catch (QueryException $e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user