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:
commit
31a1096119
|
@ -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…
Reference in New Issue