removeAllPermissions() public method

示例#1
0
 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;
 }