Registry / auth / mdmsoft-yii2-admin

mdmsoft-yii2-admin

JSON →
library2.0.0phppackagistunverified

RBAC Auth manager for Yii2, providing role-based access control management.

composer require mdmsoft/yii2-admin
INSTALL
IMPORT
SIG · MDMSOFT-YII2-ADMIN
M
mdmsoft-yii2-admin
authphpv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AccessControl
use mdm\admin\components\AccessControl;

Configures access control using the Yii2 Admin module.

use mdm\admin\components\AccessControl; // In your controller behaviors: public function behaviors() { return [ 'access' => [ 'class' => AccessControl::className(), 'allowActions' => ['site/login', 'site/error'] ], ]; }
Debug
Known issues
gotchaRequires Yii2 framework and its RBAC database tables to be set up.
fix
Run the migration provided by the package to create necessary tables.
affects: >=2.0.0
Upgrade
Version history
2.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources
mdmsoft-yii2-admin — pip install mdmsoft-yii2-admin · libregistry