GUI manager for RBAC (Role Base Access Control) Yii2. Easy to manage authorization of user :smile:.
Important: If you install version 3.x, please see this readme.
The preferred way to install this extension is through composer.
Either run
php composer.phar require mdmsoft/yii2-admin "~1.0"
or
php composer.phar require mdmsoft/yii2-admin "~2.0"
or for the dev-master
php composer.phar require mdmsoft/yii2-admin "2.x-dev"
Or, you may add
"mdmsoft/yii2-admin": "~2.0"
to the require section of your composer.json
file and execute php composer.phar update
.
Download the latest release from here releases, then extract it to your project. In your application config, add the path alias for this extension.
return [
...
'aliases' => [
'@mdm/admin' => 'path/to/your/extracted',
// for example: '@mdm/admin' => '@app/extensions/mdm/yii2-admin-2.0.0',
...
]
];
yiisoft/yii2-jui
(mdmunir).user
component (mdmunir).menu
for some query (mdmunir, liu0472).$cache === null
to isset($cache)
(mdmunir).in_array()
(mdmunir).AssigmentController
to AssignmentController
(mdmunir).mdm\admin\Module::items
(mdmunir).db
and cache
configuration (mdmunir).cache
is not used anymore (mdmunir).VarDumper::export
to save data
of mdm\models\AuthItem
(mdmunir).yii\rbac\Rule
instance (mdmunir).menu_
from column name of table menu
(mdmunir).data
to table menu
(mdmunir).mdm\admin\components\AccessHelper::getAssignedMenu()
with provide a callback to method (mdmunir). null
to column parent
in database migration (mdmunir).mdm\admin\components\BizRule
(mdmunir).yii\rbac\Item::$data
with Json::decode()
(mdmunir).AccessHelper
to MenuHelper
(mdmunir).db
and cache
configuration via $app->params['mdm.admin.configs']
(mdmunir).yii\caching\GroupDependency
to yii\caching\TagDependency
(mdmunir).mdm\admin\Module::allowActions
. Set access control directly with mdm\admin\components\AccessControl
(mdmunir).mdm\admin\components\DbManager
now inherited from yii\rbac\DbManager
(mdmunir).null
(mdmunir).
Comments