fixed error with rr and rw in report list - acls

This commit is contained in:
marcos 2021-04-26 10:30:51 +02:00
parent 72b9748be9
commit 2db8c73743
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']);
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;
} else {
$return_all_group = false;