2017 © Pedro Peláez
 

yii2-extension yii2-users-module

Yii2 users and rbac module

image

devgroup/yii2-users-module

Yii2 users and rbac module

  • Wednesday, April 12, 2017
  • by bethrezen
  • Repository
  • 6 Watchers
  • 2 Stars
  • 750 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-users-module

Users and RBAC module for Yii2, (*1)

Extension provides basic set of Users, Roles and Permissions, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist devgroup/yii2-users-module "*"

or add, (*5)

"devgroup/yii2-users-module": "*"

After it you should execute migrations:, (*6)

/usr/bin/php yii migrate --migrationPath=@DevGroup/Users/migrations

After performing the previous steps admin super user will be available in the system with following credentials:, (*7)

  • login : admin
  • password: admin (password is temporary)

Base Routes

Backend RBAC Management

  • list: /users/rbac-manage
  • edit: /users/rbac-manage/edit?params
  • delete: /users/rbac-manage/delete?params

Backend Users Management

  • list: /users/users-manage
  • edit: /users/users-manage/edit?params
  • delete: /users/users-manage/delete?params

Inspiration sources

https://github.com/dektrium/yii2-user, (*8)

The Versions