2014-08-01 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/planned_downtime.editor.php: fixed the acl.
	
	MERGED FROM THE BRANCH 5.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-08-01 10:36:19 +00:00
parent 862d16ccf9
commit 02c37f4f47
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2014-08-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.editor.php: fixed the acl.
MERGED FROM THE BRANCH 5.0
2014-07-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_graph.php,

View File

@ -1,5 +1,4 @@
<?php
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
@ -18,6 +17,7 @@ global $config;
check_login();
if (! check_acl ($config['id_user'], 0, "AW")) {
db_pandora_audit("ACL Violation",
"Trying to access downtime scheduler");
@ -25,6 +25,7 @@ if (! check_acl ($config['id_user'], 0, "AW")) {
return;
}
require_once ('include/functions_users.php');
// Header
@ -36,10 +37,7 @@ ui_print_page_header(
true,
"");
// Load global vars
global $config;
check_login();
//Initialize data
$id_agent = get_parameter ("id_agent");