Fears for civil liberties over threat to ban protests