Change permission filter for module bulk operations, PM change to AW - #902

This commit is contained in:
enriquecd 2017-05-19 14:58:34 +02:00
parent daf3c5d3f7
commit 3e230572ad
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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']);
}