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:
commit
28984aa414
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue