mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
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
|
// Load global vars
|
||||||
check_login ();
|
check_login ();
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], 0, "PM")) {
|
if (! check_acl ($config['id_user'], 0, "AW")) {
|
||||||
db_pandora_audit("ACL Violation",
|
db_pandora_audit("ACL Violation",
|
||||||
"Trying to access massive module update");
|
"Trying to access massive module update");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
|
@ -62,7 +62,7 @@ $options_plugins = array(
|
|||||||
'edit_plugins' => __('Bulk plugin edit')
|
'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']);
|
unset($options_modules['edit_modules']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user