removeAllPermissions() public method

コード例 #1
0
ファイル: SetupController.php プロジェクト: Humanized/viajero
 public function actionRemoveAllRoles()
 {
     if ($this->confirm('Are you sure want to remove all roles? All parent child relations will be adjusted accordingly.')) {
         $this->_authManager->removeAllPermissions();
     }
     return 0;
 }