Merge branch 'ent-12716-eliminar-opcion-manage-filter-para-users-sin-privilegios' into 'develop'

Ent 12716 Eliminar opción manage filter para users sin privilegios

See merge request artica/pandorafms!6823
This commit is contained in:
Rafael Ameijeiras 2024-01-18 11:15:39 +00:00
commit 47fa090b1a
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(
[ [