diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 143cbadb9a..c463159ada 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-06-02 Sergio Martin + + * godmode/menu.php: Fixed database interface ACLs for DM flag + for ticket #849 + 2014-06-02 Miguel de Dios * operation/snmpconsole/snmp_view.php: restored the lost code from diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 724dc37cc4..63ce72d36f 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -266,6 +266,10 @@ if (check_acl ($config['id_user'], 0, "PM")) { $extmenu = $extension['godmode_menu']; + if ($extmenu["name"] == 'DB interface' && !check_acl ($config['id_user'], 0, "DM")) { + continue; + } + //Check the ACL for this user if (! check_acl ($config['id_user'], 0, $extmenu['acl'])) { continue;