bricksasp 权限模块
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bricksasp/rbac: "~1.0"
or add
"bricksasp/rbac": "~1.0"
to the require section of your composer.json.
To use this extension, you have to configure the Connection class in your application configuration:
return [
//....
'components' => [
'rbac' => [
'class' => 'bricksasp\rbac\Module',
],
]
];