Answer the question
In order to leave comments, you need to log in
Yii2 RBAC setup from dektrium, why does the migration fail?
Tell me where I'm stupid .. Migration stubbornly
fails
Exception 'yii\base\InvalidConfigException' with message 'You should configure "authManager" component to use database before executing this migration.'
'components' => [
...
'authManager' => [
'class' => 'dektrium\rbac\components\DbManager',
],
]
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
'admins' => ['Admin']
],
'rbac' => [
'class'=>'dektrium\rbac\RbacWebModule',
],
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question