Yes, detention is consistent with the maintenance of human rights because some of those people are dangerous. Some people who are locked up either have enemies whom they want to kill or have some kind of problem with being violent. So, these people should stay locked up because they want to hurt people, so we are keeping people safe.
No, internment detention is not consistent with the maintenance of human rights and the moral authority of liberal democracies, because governments are abusing the authority in order to harass their own citizens and others. Knowing that the government can just take you, keep you, and feel you up makes citizens uncomfortable, and it scares them.