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:
parent
5ce81492e6
commit
b6bcc3d852
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue