Revision #3 has been created by Sherin Jose on Aug 22, 2016, 7:04:06 AM with the memo:
Formatting
« previous (#2)
Changes
Title
unchanged
Installation guide: Yii-2 advanced template with RBAC system
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
install, yii2, rbac
Content
changed
[...]
'identityClass' => 'mdm\admin\models\User',
'loginUrl' => ['admin/user/login'],
]
]
```
Populate the `user` table by adding users. Use this link to register users to your application:<br />
[http://localhost/yii2-app/backend/web/index.php?r=admin/user/signup](http://localhost/yii2-app/backend/web/index.php?r=admin/user/signup "Sign Up")
You can use authManager class `'yii\rbac\DbManager'` to authorize users using database. For that you should execute a database migration using the command `yii migrate --migrationPath=@yii/rbac/migrations`. Before that add `'class' => 'mdm\admin\models\User'` and change the `authManager` class in the config file `yii2-app/common/config/main.php` like :
```php[...]