The lawsuit says the Pentagon's policy is "exactly the type of speech- and press-restrictive scheme" courts have ruled violates the First Amendment.