Answer the question
In order to leave comments, you need to log in
Is it possible to give Yii2 RBAC permission to a user separately?
Actually, you can give a separate Permissions without being tied to a role, the user can.
Is it correct?
And that this one is mixed will function normally when checking Yii::$app->user->can('TEST')
Why I ask, since the getPermissionsByUser method from the \yii\rbac\DbManager class does not see permissions that are not tied to a role.
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