diff options
author | Simon Rettberg | 2022-09-09 12:06:18 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-09-09 12:06:18 +0200 |
commit | bc7fe05b1d837d3472d7e4eeb8a141d829cb224f (patch) | |
tree | 038be79f701659c98d83fb3ab628d9340e53051a /modules-available | |
parent | [statistics_reporting] Fallback for IP and hostname (diff) | |
download | slx-admin-bc7fe05b1d837d3472d7e4eeb8a141d829cb224f.tar.gz slx-admin-bc7fe05b1d837d3472d7e4eeb8a141d829cb224f.tar.xz slx-admin-bc7fe05b1d837d3472d7e4eeb8a141d829cb224f.zip |
[eventlog] Fix permission name
Diffstat (limited to 'modules-available')
-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) { |