devgroup/yii2-users-module

Yii2 users and rbac module

Installs: 751

Dependents: 2

Suggesters: 0

Security: 0

Stars: 3

Watchers: 7

Forks: 2

Open Issues: 0

Type:yii2-extension

dev-master 2017-04-12 11:25 UTC

This package is auto-updated.

Last update: 2024-11-11 15:10:10 UTC


README

Users and RBAC module for Yii2

Extension provides basic set of Users, Roles and Permissions

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

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

After it you should execute migrations:

/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:

  • 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