Export to csv whit non-privilege user. Ticket #2404
This commit is contained in:
parent
f67ea5c694
commit
73e0e91647
|
@ -22,7 +22,7 @@ require_once ("../../include/functions_users.php");
|
||||||
require_once ("../../include/functions_groups.php");
|
require_once ("../../include/functions_groups.php");
|
||||||
|
|
||||||
$config["id_user"] = $_SESSION["id_usuario"];
|
$config["id_user"] = $_SESSION["id_usuario"];
|
||||||
if (! check_acl ($config['id_user'], 0, "AW")) {
|
if (! check_acl ($config['id_user'], 0, "AR")) {
|
||||||
db_pandora_audit("ACL Violation", "Trying to access downtime scheduler");
|
db_pandora_audit("ACL Violation", "Trying to access downtime scheduler");
|
||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue