mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
ApplyRulesTable: fix restriction name
This commit is contained in:
parent
ee582b7106
commit
e0667a1d9b
@ -123,7 +123,7 @@ class ApplyRulesTable extends ZfQueryBasedTable
|
|||||||
{
|
{
|
||||||
$auth = Auth::getInstance();
|
$auth = Auth::getInstance();
|
||||||
$type = $this->type;
|
$type = $this->type;
|
||||||
$restrictions = $auth->getRestrictions("director/$type/applyrule/filter-by-name");
|
$restrictions = $auth->getRestrictions("director/$type/apply/filter-by-name");
|
||||||
if (empty($restrictions)) {
|
if (empty($restrictions)) {
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user