Trump had tried to bar CNN, MS NOW and Politico from the White House.