usuario = \Yii::$app->getUser()->getIdentity(); if (!empty($this->permisos)) { $this->usuario->cargarPermisos($this->permisos); } return true; } }