Hi i added YII2-rbac but i open the url index.php?r=rbac but showing Forbidden (#403)
You are not allowed to perform this action.How to solve this issue..please help me...
Hi. You have to add your user as admin in your Yii2-user config:
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
'admins' => ['your_user']
'rbac' => 'dektrium\rbac\RbacWebModule',