humanized/yii2-rbac

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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

dev-master 2016-02-25 23:36 UTC

This package is not auto-updated.

Last update: 2021-09-18 02:59:10 UTC


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