2017 © Pedro Peláez
 

yii2-extension yii2-mwrbac

Yii2 RBAC Extension

image

mwsys/yii2-mwrbac

Yii2 RBAC Extension

  • Friday, February 3, 2017
  • by maoneid
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 RBAC Extension

Yii2 RBAC Extension, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist mwsys/yii2-mwrbac "*"

or add, (*4)

"mwsys/yii2-mwrbac": "*"

to the require section of your composer.json file., (*5)

Usage

Up to this moment, this extension only provide actionfilter to handle regex-based access rights, (*6)

Add parameter to the parameters, this config indicate that filter will add route otomatically as auth item., (*7)

'add_auth_item' => true,, (*8)

Add behavior in configuration., (*9)

.... 'as checkuser' => [ 'class' => 'mwsys\mwrbac\components\MwAccessControl', 'allowActions' => [ 'site/*', ],, (*10)

..., (*11)

The Versions

03/02 2017

dev-master

9999999-dev

Yii2 RBAC Extension

  Sources   Download

MIT

The Requires

 

by Avatar maoneid

extension yii2 rbac mwsys