humanized / yii2-rbac
Module containing additional RBAC management interfaces
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
This package is not auto-updated.
Last update: 2024-11-09 20:12:15 UTC
README
Provides various interfaces to deal with routine RBAC tasks.
This extension is under heavy development and requires the use of Yii framework version 2.0.7 This version of the framework is currently in-active development
This module should be considered highly unstable and it's use is discouraged until further notice (really)
Features
This module aims to be a clean, modular and simple RBAC-administration module that can be used for Yii 2 projects version 2.0.7 and up.
A first goal is to provide a complete CLI wrapper to the default Yii2 RBAC interface. For this, the interface is kept as close to the programmatic interface as possible.
Installation
Install Using Composer
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require humanized/yii2-rbac "dev-master"
or add
"humanized/yii2-rbac": "dev-master"
to the require
section of your composer.json
file.
Add Module to Configuration
Add following lines to the configuration file:
'modules' => [ 'rbac' => [ 'class' => 'humanized\rbac\Module', ], ],