mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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';
|
$table->align[4] = 'left';
|
||||||
|
|
||||||
$filter = [];
|
$filter = [];
|
||||||
if (!is_user_admin($config['id_user']) && $group === 0) {
|
if (!is_user_admin($config['id_user'])) {
|
||||||
$filter['talert_actions.id_group'] = array_keys(
|
$filter['talert_actions.id_group'] = array_keys(
|
||||||
users_get_groups(false, 'LM')
|
users_get_groups(false, 'LM')
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user