Change permission filter for module bulk operations, PM change to AW - #902
This commit is contained in:
parent
daf3c5d3f7
commit
3e230572ad
|
@ -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");
|
||||
|
|
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue