mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Merge branch 'ent-13294-usuario-limitado-por-perfil-y-acl-ent-no-puede-ver-tools-file-repository' into 'develop'
Ent 13294 usuario limitado por perfil y acl ent no puede ver tools file repository See merge request artica/pandorafms!7188
This commit is contained in:
commit
15859745ed
@ -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';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user