diff options
Diffstat (limited to 'modules-available/eventlog/pages')
-rw-r--r-- | modules-available/eventlog/pages/rules.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/eventlog/pages/rules.inc.php b/modules-available/eventlog/pages/rules.inc.php index 5ba1713b..2e3236ca 100644 --- a/modules-available/eventlog/pages/rules.inc.php +++ b/modules-available/eventlog/pages/rules.inc.php @@ -8,7 +8,7 @@ class SubPage public static function doPreprocess() { if (Request::isPost()) { - User::assertPermission('filter.rule.edit'); + User::assertPermission('filter.rules.edit'); $action = Request::post('action'); if ($action === 'save-filter') { self::saveRule(); @@ -88,7 +88,7 @@ class SubPage public static function doRender() { - User::assertPermission('filter.rule.view'); + User::assertPermission('filter.rules.view'); $id = Request::get('id', null, 'int'); if ($id !== null) { self::showRuleEditor($id); @@ -111,7 +111,7 @@ class SubPage private static function showRuleEditor(int $id) { // EDIT - User::assertPermission('filter.rule.edit'); + User::assertPermission('filter.rules.edit'); $index = 0; $existing = []; if ($id !== 0) { |