We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for some days after a update $roles = Yii::$app->authManager->getRolesByUser(Yii::$app->user->getId()); returns a empty array
$roles = Yii::$app->authManager->getRolesByUser(Yii::$app->user->getId());
Originally posted by @EndErr in #442 (comment)
The text was updated successfully, but these errors were encountered:
@MatteoF96 could this be related to your recent commits?
Sorry, something went wrong.
Please check you have this in your config:
'authManager' => [ 'class' => 'Da\User\Component\AuthDbManagerComponent', ],
I had a similar issue which was caused by the default config to use yii\rbac\DbManager (advanced template); struggled with it for almost a day 😓
yii\rbac\DbManager
No branches or pull requests
for some days after a update
$roles = Yii::$app->authManager->getRolesByUser(Yii::$app->user->getId());
returns a empty arrayOriginally posted by @EndErr in #442 (comment)
The text was updated successfully, but these errors were encountered: