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