black-lamp/blcms-rbac

There is no license information available for the latest version (0.0.2.5) of this package.

Rbac extension for the Yii framework

Installs: 81

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 1

Open Issues: 0

Type:yii2-extension

0.0.2.5 2016-10-22 15:49 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:08:42 UTC


README

INSTALLATION

Migrate

	yii migrate --migrationPath=@vendor/black-lamp/blcms-rbac/migrations

Add module to your 'modules' config section

    'modules' => [
        ...
        'rbac' => [
            'class' => 'bl\rbac\Module'
        ],
        ...
    ]

Configure AccessBehavior

    'as AccessBehavior' => [
        'class' => 'bl\rbac\components\AccessBehavior'
    ],
Rolefor access is 'rbacManager'.