Merge branch 'ent-7384-bug-acl-en-usuario-con-permiso-rr-u-o-rw' into 'develop'

fixed error with rr and rw in report list - acls

See merge request artica/pandorafms!4068
This commit is contained in:
Daniel Rodriguez 2021-04-27 14:07:48 +00:00
commit 28984aa414
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ switch ($action) {
} }
$own_info = get_user_info($config['id_user']); $own_info = get_user_info($config['id_user']);
if ($own_info['is_admin'] || check_acl($config['id_user'], 0, 'RM')) { if ($own_info['is_admin'] || check_acl($config['id_user'], 0, 'RM') || check_acl($config['id_user'], 0, 'RR')) {
$return_all_group = true; $return_all_group = true;
} else { } else {
$return_all_group = false; $return_all_group = false;