From 3e230572add7fc15be6efe4b07a8f0e49b29308c Mon Sep 17 00:00:00 2001 From: enriquecd Date: Fri, 19 May 2017 14:58:34 +0200 Subject: [PATCH] Change permission filter for module bulk operations, PM change to AW - #902 --- pandora_console/godmode/massive/massive_edit_modules.php | 2 +- pandora_console/godmode/massive/massive_operations.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index bfc3aab6de..e271395e15 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -16,7 +16,7 @@ // Load global vars check_login (); -if (! check_acl ($config['id_user'], 0, "PM")) { +if (! check_acl ($config['id_user'], 0, "AW")) { db_pandora_audit("ACL Violation", "Trying to access massive module update"); require ("general/noaccess.php"); diff --git a/pandora_console/godmode/massive/massive_operations.php b/pandora_console/godmode/massive/massive_operations.php index 933c508e4b..494e95e3f5 100755 --- a/pandora_console/godmode/massive/massive_operations.php +++ b/pandora_console/godmode/massive/massive_operations.php @@ -62,7 +62,7 @@ $options_plugins = array( 'edit_plugins' => __('Bulk plugin edit') ); -if (! check_acl ($config['id_user'], 0, "PM")) { +if (! check_acl ($config['id_user'], 0, "AW")) { unset($options_modules['edit_modules']); }