The massive attacks, which ranged from groping to rape and involved men having a “North African or Arabic” appearance, are beginning to reshape Germany's open-door policy on refugees. At the same time, women's rights activists are flagging missteps by police and politicians.