mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch '901-Perfil-con-edición-de-agentes-no-tiene-permisos-para-una-opción-en-masivas' into 'pandora_6.0'
Change permission filter for module bulk operations, PM change to AW - #901 See merge request !494
This commit is contained in:
commit
56b0bd821f
@ -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…
x
Reference in New Issue
Block a user