NSW Police Commissioner Mal Lanyon extended the ban using powers introduced in the wake of the Bondi terror attack.