To summarize, I turn to the article:
Ehrlich last fall barred state employees from talking to The Sun's State House bureau chief David Nitkin and columnist Michael Olesker. The governor said the two journalists were not objectively covering his administration. Ehrlich views the two metropolitan daily newspapers serving Maryland, The Sun and The Washington Post, as liberal and pro-Democratic.
The judge of this case agreed that it was OK:
"The right to publish news is expansive. However, the right does not carry with it the unrestrained right to gather information," the judge ruled.
I think that the phrase "free press" needs to be explained again. Free is "free as in freedom", which means exactly the unresrained right to gather information. And publish it, too.