user->isAdmin()) { $result['whereClause'][] = array( 'assignedUserId' => $this->user->id ); } } }