Added an error message when the user does not have permissions on the visual console

This commit is contained in:
Arturo Gonzalez Diaz 2015-10-19 18:43:28 +02:00
parent 800f2b749a
commit ea4cb8a815

View File

@ -75,7 +75,7 @@ class Visualmap {
$system = System::getInstance(); $system = System::getInstance();
$this->checkVisualmapACL($this->visualmap['id_group']); $this->checkVisualmapACL($this->visualmap['id_group']);
if (!$this->correct_acl) { if (!$this->correct_acl) {
return; $this->show_fail_acl();
} }
else { else {
switch ($parameter2) { switch ($parameter2) {