public function actionRemoveAllAssignments() { if ($this->confirm('Are you sure want to remove all role assignments?')) { $this->_authManager->removeAllAssignments(); } return 0; }
/** * @inheritdoc */ public function removeAllAssignments() { parent::removeAllAssignments(); $this->_assignments = []; }