It's not that a law was broken, it's that during the Bush years had something like this happened we would have heard the left screeching about the police state we're in and how sinister Republicans don't respect journalists and freedoms they require.
Instead it's, "Meh. So?" from a lot of them now that Obama's doing it. Although it does seem to be bothering some. You even have Obama aplogists like the Huff Post talking about it, and they'd overlook almost as much as cosmo.