Yii2 — RBAC — You should configure «authManager» component to use database before executing this migration.

You should configure "authManager" component to use database before executing this migration.

При запуске накройте RBAC в Yii2 начинающие разработчики часто попадают в ступор из-за ошибки миграции yii migrate --migrationPath=@yii/rbac/migrations/

Ошибка : You should configure «authManager» component to use database before executing this migration. что гласит о не верной конфигурации компонента yii\rbac\DbManager Подробнее