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:
parent
7d91bbb077
commit
8417dd3e44
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue