/**
  * Deletes an existing AuthItem model.
  * If deletion is successful, the browser will be redirected to the 'index' page.
  *
  * @param string $id        	
  * @return mixed
  */
 public function actionDelete($id)
 {
     $categoryName = YiiForum::getGetValue('category');
     $item = new Permission();
     $item->name = $id;
     $this->auth->remove($item);
     AuthItem::createCachedPermissions();
     return $this->redirect(['index', 'category' => $categoryName]);
 }