#12716 fixed permission in monitor detail

This commit is contained in:
Daniel Cebrian 2024-01-02 11:18:53 +01:00
parent 0efa911300
commit 70f213811e
1 changed files with 14 additions and 13 deletions

View File

@ -1061,19 +1061,20 @@ $buttons .= html_print_button(
], ],
true true
); );
if (check_acl($config['id_user'], 0, 'AW')) {
$buttons .= html_print_button( $buttons .= html_print_button(
__('Manage filter'), __('Manage filter'),
'save-filter', 'save-filter',
false, false,
'', '',
[ [
'icon' => 'wand', 'icon' => 'wand',
'mode' => 'mini secondary', 'mode' => 'mini secondary',
'class' => 'float-left margin-right-2 sub wand', 'class' => 'float-left margin-right-2 sub wand',
], ],
true true
); );
}
$filters .= html_print_div( $filters .= html_print_div(
[ [