This is a dangerous and deeply authoritarian move from the UK government. Terrorism legislation should not be used against non-violent protestors.
It's been condemned by UN human rights experts and Amnesty International have called it an "egregious abuse" of power.