Tunisia's government is urging its citizens to sacrifice some of their freedoms to better protect the country from attacks like the mass shooting at a beach resort last month that killed 38 people, mostly tourists.

Government minister Kamel Jendoubi on Tuesday defended the president's decision to impose a state of emergency Saturday in response to the June 26 attack, fearing new extremist violence. As Tunisia's Parliament resumes debate on an anti-terrorism law, Jendoubi told reporters "we must accept ... that some limits must exist to face these threats."

Rights groups have said some measures in the new law — such as long detention periods and a broad definition of terrorism — could threaten the freedoms gained in Tunisia's Arab Spring uprising and its ensuing transition to democracy.