dev-master
9999999-devYii2 RBAC Extension
MIT
The Requires
by maoneid
extension yii2 rbac mwsys
Yii2 RBAC Extension
Yii2 RBAC Extension, (*1)
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)
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)
Yii2 RBAC Extension
MIT
extension yii2 rbac mwsys