Merge branch 'ent-4424-error-acceso-con-sin-acl-enterprise' into 'develop'

Fixed agent detail events permission

See merge request artica/pandorafms!2620
This commit is contained in:
Alejandro Fraguas 2019-08-02 11:06:42 +02:00
commit f5349e7723
1 changed files with 5 additions and 2 deletions

View File

@ -1559,8 +1559,11 @@ switch ($tab) {
include 'estado_monitores.php';
echo "<a name='alerts'></a>";
include 'alerts_status.php';
echo "<a name='events'></a>";
include 'status_events.php';
// Check permissions to read events
if (check_acl($config['id_user'], 0, 'ER')) {
echo "<a name='events'></a>";
include 'status_events.php';
}
break;
case 'data_view':