2017 © Pedro Peláez
 

yii2-extension yii2-jrbac

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap

image

jext/yii2-jrbac

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap

  • Wednesday, November 8, 2017
  • by JeanWolf
  • Repository
  • 1 Watchers
  • 0 Stars
  • 111 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 13 Versions
  • 9 % Grown

The README.md

yii2-jrbac

module for yii2 rbac manage

improving... you can diy it for your own project

Yii2 RBAC管理模块, (*1)

  • 权限管理 - 添加、删除(批量)、自动初始化(根据路由地址)
  • 角色管理 - 添加、删除(批量)、用户关联、权限关联、子角色关联
  • 规则管理 - 添加、删除(批量)、权限关联
  • 菜单管理 - 增删改查、无限分类、图标集成、权限过滤、与模版无缝集成(默认+adminLte), (*2)

  • set the authManager component in your project config file, (*3)

    //...
    'components' => [
        //...
        'authManager' => [
            'class' => 'jext\jrbac\src\JDbManager',
        ],
    ]
    //...
  • load modules in your config file, (*4)

    //...
    'modules' => [
        'jrbac' => [
            'class' => 'jext\jrbac\Module',
        ],
        //...
    ],
    //...
  • to use jrbac menu component, (*5)

//example code
$menuItems = [
    //... your own menu items set
];
$jrbacMenu = \jext\jrbac\src\JMenu::getInstance()->getMenu();

//in adminLte theme template
echo dmstr\widgets\Menu::widget(
[
    'options' => ['class' => 'sidebar-menu'],
    'items' => array_merge($menuItems, $jrbacMenu),
]

//other default views

    NavBar::begin([
        'brandLabel' => Yii::t('app', Yii::$app->name),
        'brandUrl' => Yii::$app->homeUrl,
        'options' => [
            'class' => 'navbar-default',// navbar-fixed-top
        ],
    ]);

    echo Nav::widget([
        'options' => ['class' => 'navbar-nav navbar-right'],
        'items' => array_merge($menuItems, $jrbacMenu),
    ]);

    NavBar::end();

//to use this component, make sure you have assigned the right permissions to the logined user

#, (*6)


any other problems ? mail to me: jeen@vsfor.com :)

The Versions

08/11 2017

dev-master

9999999-dev http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

08/11 2017

1.0.0

1.0.0.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

08/11 2017

0.9.1

0.9.1.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

24/02 2017

0.2.6

0.2.6.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

20/02 2017

0.2.5

0.2.5.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

13/10 2016

0.2.4

0.2.4.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

13/10 2016

0.2.3

0.2.3.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

13/10 2016

0.2.2

0.2.2.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

26/08 2016

0.2.1

0.2.1.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

21/07 2016

0.1.1

0.1.1.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

20/07 2016

0.0.3

0.0.3.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

20/07 2016

0.0.2

0.0.2.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin

19/07 2016

0.0.1

0.0.1.0 http://blog.jeen.wang/

JRBAC - Yii2 RBAC admin control panel and dashboard that's based on Bootstrap 3

  Sources   Download

MIT

The Requires

 

extension yii2 module rbac admin