Skip to content

Humanized/yii2-rbac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2-RBAC - README

Yii2

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',
    ],
],

About

A modest Yii2 module to manage small to medium size RBAC hierarchies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages