From midnight there'll be a permit system which will require anyone who visited Sydney's COVID hotspots to enter hotel quarantine.