The human rights community says the new legislation is threatening the country's democracy.