A district judge originally dismissed the suit , but an appeals court late Tuesday allowed the case to move forward and cleared the way for the teens to demand that McDonald 's turn over documents .