#13294 acl add files_repo

This commit is contained in:
Jonathan 2024-04-12 09:21:22 +02:00
parent a305d0779a
commit 7a553a2ae9
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}