2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/visual_console/index.php: Correction for my last commit. Now in this 
	view users can see maps of group "All".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-02-17 10:51:32 +00:00
parent 5ce81492e6
commit b6bcc3d852
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/visual_console/index.php: Correction for my last commit. Now in this
view users can see maps of group "All".
2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: cleaned the forgotten

View File

@ -23,12 +23,7 @@ print_page_header (__("Visual console"), "images/monitor.png", false, "operation
require_once ('include/functions_visual_map.php');
// Only display maps of "All" group if user is administrator or has "PM" privileges, otherwise show only maps of user group
$own_info = get_user_info ($config['id_user']);
if ($own_info['is_admin'] || give_acl ($config['id_user'], 0, "PM"))
$layouts = get_user_layouts ();
else
$layouts = get_user_layouts ($config['id_user'], false, false, false);
$layouts = get_user_layouts ();
$table->width = "70%";
$table->data = array ();