2014-06-02 Sergio Martin <sergio.martin@artica.es>

* godmode/menu.php: Fixed database interface ACLs for DM flag
	for ticket #849



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2014-06-02 11:19:14 +00:00
parent 7d91bbb077
commit 8417dd3e44
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-06-02 Sergio Martin <sergio.martin@artica.es>
* godmode/menu.php: Fixed database interface ACLs for DM flag
for ticket #849
2014-06-02 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php: restored the lost code from

View File

@ -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;