2017 © Pedro Peláez
 

yii2-extension yii2-rbac-widget

This small extension helps you to see whole rbac hierarchy by each role and see hierarchy for current user

image

mutogen/yii2-rbac-widget

This small extension helps you to see whole rbac hierarchy by each role and see hierarchy for current user

  • Friday, June 20, 2014
  • by MUTOgen
  • Repository
  • 2 Watchers
  • 3 Stars
  • 80 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Rbac Hierarchy

This small extension helps you to see whole rbac hierarchy by each role and see hierarchy for current user, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist mutogen/yii2-rbac-widget "*"

or add, (*4)

"mutogen/yii2-rbac-widget": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

<?= \mutogen\rbacw\Hierarchy::widget(); ?>

Options

userId - user's id for permissions list, (*7)

class - full user's class name, (*8)

The Versions

20/06 2014

dev-master

9999999-dev

This small extension helps you to see whole rbac hierarchy by each role and see hierarchy for current user

  Sources   Download

GPL-3.0

by Abramov Anton aka MUTOgen

extension yii2 rbac