mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed agent detail events permission
This commit is contained in:
parent
4d9d0deab7
commit
00662058f3
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user