Proposed law would legalise detention without charges