Censorship rarely works, even in a totalitarian society. Just ask the Chinese.
And the Muslim countries. Hey! What a coincidence! Praise Allah! (massive sarcasm, but very true these days)
The author does not have the right to publish classified information he acquired under a security clearance. We he was granted the clearance he agreed to maintain confidentiality, and get any publications reviewed.
That is NOT the same as Chinese censorship of the public internet, for example.
The author did not follow the agreed review process, and now the DoD is catching up.
The author is still going to publish, but the specific names and dates and sensitive info like that need not be published.
That is not totalitarian.