diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 839b8677bd..35288fca64 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -1141,7 +1141,7 @@ You can of course remove the warnings, that's why we include the source and do n html_print_select($graphs, 'id_custom_graph', $value_selected, 'change_custom_graph();', __('None'), 0); } else { - $list_custom_graphs = custom_graphs_get_user ($config['id_user'], false, true, "IR"); + $list_custom_graphs = custom_graphs_get_user ($config['id_user'], false, true, "RR"); $graphs = array(); foreach ($list_custom_graphs as $custom_graph) { @@ -3202,4 +3202,4 @@ function set_last_value_period() { $("#row_period").show(); } } - \ No newline at end of file + diff --git a/pandora_console/include/ajax/reporting.ajax.php b/pandora_console/include/ajax/reporting.ajax.php index 8db2aea674..cf1bd3a33e 100755 --- a/pandora_console/include/ajax/reporting.ajax.php +++ b/pandora_console/include/ajax/reporting.ajax.php @@ -19,7 +19,7 @@ global $config; // Login check check_login (); -if (! check_acl ($config['id_user'], 0, "IW")) { +if (! check_acl ($config['id_user'], 0, "RW")) { db_pandora_audit("ACL Violation", "Trying to access report builder"); require ("general/noaccess.php");