As the number and size of nonviolent protests worldwide have grown, so has the frequency of governments acting in authoritarian ways.