Use yii2 advanced template with yii2-user and yii2-admin.

Username: admin, Password: test123

Username: demo, Password: test123

Try these steps:

  • Login as demo. RegisteredUser Page show up.
  • Login as admin. Visit RBAC/Assignment and assign the user demo with a Member role.
  • Login as demo. MemberArea page will be available.
  • Use PHP7.

You are welcome to modify. It is using a SQLite3 database which will be reset hourly.

With WebCMSNow, one click to duplicate the website. Yii2 RBAC is integrate into WebCMSNow. Can easy to assign role to any pages.