Given the circumstances of the war crisis, was the government’s suspension of civil rights during WWI an “acceptable” violation of our Constitution, or should our freedoms never be restricted for any cause?

The Sedition Act, passed in 1918, prohibited. . . ‘any abusive or disloyal language’ concerning the flag, constitution, government, or armed forces” (Visions of America, p.606). Given the circumstances of the war crisis, was the government’s suspension of civil rights during WWI an “acceptable” violation of our Constitution, or should our freedoms never be restricted for any cause?