diff --git a/pandora_console/godmode/reporting/graphs.php b/pandora_console/godmode/reporting/graphs.php index 828f065e33..8c32318bb5 100644 --- a/pandora_console/godmode/reporting/graphs.php +++ b/pandora_console/godmode/reporting/graphs.php @@ -188,10 +188,12 @@ if (!empty ($graphs)) { echo ""; echo "
"; if (!empty($graphs)){ - echo "
"; - html_print_input_hidden('multiple_delete', 1); - html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); - echo "
"; + if (check_acl ($config['id_user'], 0, "RW") && users_can_manage_group_all($graph['id_group'])) { + echo "
"; + html_print_input_hidden('multiple_delete', 1); + html_print_submit_button(__('Delete'), 'delete_btn', false, 'class="sub delete"'); + echo "
"; + } } if (check_acl ($config['id_user'], 0, "RW")) { echo '
';