Fixed all alert actions are shown after alert action creation/edition even if user has access rights only for specific groups.
This commit is contained in:
parent
925c9fce4f
commit
e7079dd4c4
|
@ -337,7 +337,7 @@ $table->align[3] = 'left';
|
|||
$table->align[4] = 'left';
|
||||
|
||||
$filter = [];
|
||||
if (!is_user_admin($config['id_user']) && $group === 0) {
|
||||
if (!is_user_admin($config['id_user'])) {
|
||||
$filter['talert_actions.id_group'] = array_keys(
|
||||
users_get_groups(false, 'LM')
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue