mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-13058-usuario-sin-permisos-sobre-alertas-puede-crearlas-desde-agents-alerts-view' into 'develop'
Ent 13058 Usuario sin permisos sobre alertas puede crearlas desde Agents/Alerts view See merge request artica/pandorafms!7031
This commit is contained in:
commit
fae8beb331
@ -262,6 +262,7 @@ class AgentsAlerts extends HTML
|
||||
$data[0] = io_safe_output($agent_module['alias']);
|
||||
$data[1] = io_safe_output($agent_module['nombre']);
|
||||
$uniqid = $agent_module['id_agente_modulo'];
|
||||
if (check_acl($this->idUser, 0, 'LM')) {
|
||||
$data[2] = html_print_anchor(
|
||||
[
|
||||
'href' => sprintf(
|
||||
@ -276,6 +277,9 @@ class AgentsAlerts extends HTML
|
||||
],
|
||||
true
|
||||
);
|
||||
} else {
|
||||
$data[2] = '';
|
||||
}
|
||||
|
||||
array_push($table->data, $data);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user