Fixed agent detail events permission

This commit is contained in:
Luis Calvo 2019-07-29 15:16:24 +02:00
parent 4d9d0deab7
commit 00662058f3
1 changed files with 5 additions and 2 deletions

View File

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