The correct answers to these open questions are the following.
You forgot to mention what war you are referring to. We assume it is World Word I and World War II. If that is the case, then we can answer the following.
What types of restrictions were imposed? Who was affected?
The United States federal government imposed a series of restrictions in order to establish strict control in society during times of war. There were shortages of food, restrictions in the fabrication of some products to dedicate most of the production to fabricate war supplies to be sent to the war front.
There were also harshest restrictions such as the suppression of the freedom of speech.
The reasoning that the Supreme Court gave in allowing the suspension of the civil rights of some groups was because the government did not want people to protest against the war or who criticized the motives of the war. The government also considered that there were strategic reasons to avoid any spies to infiltrate into American society.
I think that under these circumstances, the government should be able to suspend the civil liberties of the U.S or noncitizens for security purposes.