Skip to content

CottaCush/yii2-permissions-ext

Repository files navigation

CottaCush RBAC

Latest Version on Packagist Software License Total Downloads

Custom Permission Based Access Control Yii2 Extension

Install

Via Composer

$ composer require cottacush/yii2-permissions-ext
$ ./yii migrate/up --migrationPath=@vendor/cottacush/yii2-permissions-ext/migrations

Usage

Add implementation of ManagerInterface to components

    //App Config
    'components'    =>
    [
    //...
        'permissionManager' => [
            'class' => '\cottacush\rbac\DbPermissionManager'
        ],
    //...
    ]

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.