mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-08-30 06:08:48 +02:00
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");
|
||||
|
||||
$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");
|
||||
require ("general/noaccess.php");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user