On a IAD-GRU flight a passenger did not have the required Visa (dont know if they were a U.S. passport holder though) and UA would not allow him to board. My gut feeling is that it was not the responsibility of TG (or UA) but it makes it easier for both. I could be wrong.