Difference between #2 and #3 of
Installation guide: Yii-2 advanced template with RBAC system

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
[...]
10 1
19 followers
Viewed: 120 181 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2
Written by: Sherin Jose
Last updated by: Sherin Jose
Created on: Aug 19, 2016
Last updated: 7 years ago
Update Article

Revisions

View all history