Answer the question
In order to leave comments, you need to log in
Why are there problems with authorization?
here is the entry rule
'rules' => [
[
'actions' => ['logout', 'index'],
'roles' => ['@'],
],
[
'allow' => true,
'roles' => ['Superadmin'],
],
[
'allow' => true,
'roles' => ['admin'],
],
],
],
Forbidden (#403)
Вам не разрешено производить данное действие.
Answer the question
In order to leave comments, you need to log in
AccessControl configured? Is there information about AccessControl in the config? What about controllers? What if I find it?
Admin and super admin how are you implemented? Through RBAC? Is RBAC configured correctly?
How does Yii determine which group is assigned to a logged in user? Have you overridden AccessRule?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question