From 7a553a2ae947096f5cc4f90e869b4a6722d695f5 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 12 Apr 2024 09:21:22 +0200 Subject: [PATCH] #13294 acl add files_repo --- pandora_console/godmode/menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 40c42fd557..649e730155 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -738,7 +738,7 @@ if ($access_console_node === true) { $sub['operation/agentes/exportdata']['id'] = 'export_data'; } - if ((bool) check_acl($config['id_user'], 0, 'PM') === true) { + if ((bool) check_acl($config['id_user'], 0, 'PM') === true || enterprise_hook('enterprise_acl', [$config['id_user'], 'tools', 'operation/extensions', false]) === true) { $sub['godmode/files_repo/files_repo']['text'] = __('File repository'); $sub['godmode/files_repo/files_repo']['id'] = 'file_repository'; }