2010-05-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: fixed the request of group data when get data about "All" group. Fixes: #2993501 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
cb392f83bd
commit
0fecb4c483
|
@ -1,3 +1,9 @@
|
||||||
|
2010-05-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/groups/group_list.php: fixed the request of group data when get
|
||||||
|
data about "All" group.
|
||||||
|
Fixes: #2993501
|
||||||
|
|
||||||
2010-05-14 Sergio Martin <sergio.martin@artica.es>
|
2010-05-14 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* godmode/reporting/visual_console_builder.php: Fixed
|
* godmode/reporting/visual_console_builder.php: Fixed
|
||||||
|
|
|
@ -33,6 +33,18 @@ if (is_ajax ()) {
|
||||||
if ($get_group_json) {
|
if ($get_group_json) {
|
||||||
$id_group = (int) get_parameter ('id_group');
|
$id_group = (int) get_parameter ('id_group');
|
||||||
|
|
||||||
|
if ($id_group == 0) {
|
||||||
|
$group = array('id_grupo' => 0,
|
||||||
|
'nombre' => 'All',
|
||||||
|
'icon' => 'world',
|
||||||
|
'parent' => 0,
|
||||||
|
'disabled' => 0,
|
||||||
|
'custom_id' => null);
|
||||||
|
|
||||||
|
echo json_encode ($group);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (! give_acl ($config['id_user'], $id_group, "AR")) {
|
if (! give_acl ($config['id_user'], $id_group, "AR")) {
|
||||||
audit_db ($config['id_user'], $_SERVER['REMOTE_ADDR'], "ACL Violation",
|
audit_db ($config['id_user'], $_SERVER['REMOTE_ADDR'], "ACL Violation",
|
||||||
"Trying to access Alert Management");
|
"Trying to access Alert Management");
|
||||||
|
|
Loading…
Reference in New Issue