mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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>
|
2014-06-02 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* operation/snmpconsole/snmp_view.php: restored the lost code from
|
* 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'];
|
$extmenu = $extension['godmode_menu'];
|
||||||
|
|
||||||
|
if ($extmenu["name"] == 'DB interface' && !check_acl ($config['id_user'], 0, "DM")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
//Check the ACL for this user
|
//Check the ACL for this user
|
||||||
if (! check_acl ($config['id_user'], 0, $extmenu['acl'])) {
|
if (! check_acl ($config['id_user'], 0, $extmenu['acl'])) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user