Merge branch '902-Perfil-con-edicion-de-agentes-no-tiene-permisos-para-una-opción-en-masivas' into 'develop'

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

See merge request !493
This commit is contained in:
vgilc 2017-05-31 17:42:57 +02:00
commit 31a1096119
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']);
}