public function delete(){
        if(!($this->id == 1 && $this->module->cantDeleteRoot == true)){
            if ($this->status == self::STATUS_DELETED) {
                Yii::$app->authManager->revokeAll($this->getId());
                parent::delete();
            } else {
                $this->status = self::STATUS_DELETED;
                $this->save(false); // validation = false
            }
        }
    }