Which of these acts allowed the federal government to deny citizens rights in a time of war?

The act that allowed the federal government to deny citizens' rights in a time of war is the Suspension Clause of the United States Constitution. Specifically, Article I, Section 9, Clause 2 states: "The Privilege of the Writ of Habeas Corpus shall not be suspended unless when in cases of Rebellion or Invasion the public Safety may require it." This provision grants the government the authority to temporarily suspend the right to habeas corpus, which allows individuals to challenge their imprisonment in court, during times of rebellion, invasion, or public safety emergencies.