Skip to content

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

Notifications You must be signed in to change notification settings

MUTOgen/yii2-rbac-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rbac Hierarchy

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

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

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

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

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

Options

userId - user's id for permissions list

class - full user's class name

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages