BUG 8757 fix code so reassignCase() web service works properly SOLVED.
- The reassignCase() web service doesn't allow assigned users to be designated to work on cases, but it does allow non-assigned users to be designated. - Fix-Bug in the reassignCase function to be adjusted according to suggestion.
This commit is contained in:
@@ -1965,7 +1965,7 @@ class wsBase
|
||||
$tasUid = $aRow['TAS_UID'];
|
||||
$derivation = new Derivation ();
|
||||
$userList = $derivation->getAllUsersFromAnyTask( $tasUid );
|
||||
if ( in_array ( $userIdTarget, $userList ) ) {
|
||||
if ( !in_array ( $userIdTarget, $userList ) ) {
|
||||
$result = new wsResponse (34, G::loadTranslation ('ID_TARGET_USER_DOES_NOT_HAVE_RIGHTS') );
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user