https://www.aclu.or/news/president-obama-signs-indefinite-detention-bill-law No judge, no jury. The Dems created this, the Republicans didn't repeal this. It's a "both sides" problem.
Always remember the Shirkey principle: "Institutions will try to preserve the problem to which they are the solution"
Fortunately the internet is slowly changing things.