Yii::$app->authManager->getRolesByUser($user->id)
array(1) { ["judge"]=> object(yii\rbac\Role)#195 (7) { ["type"]=> string(1) "1" ["name"]=> string(5) "judge" ["description"]=> string(10) "Судья" ["ruleName"]=> NULL ["data"]=> NULL ["createdAt"]=> string(10) "1506386339" ["updatedAt"]=> string(10) "1506386339" } } )?>