githubjeka/yii2-gui-rbac Yii 2 RBAC management GUI interface

rbacgui

Total Downloads Build Status

http://i.imgur.com/BXTKymp.jpg

How to install

:baby_chick: Follow the commands:

  • Check that the component authManager has been configured.
  • Add to your composer.json "githubjeka/yii2-gui-rbac": "1.0.2"
  • Run composer update
  • If your project doesn't have to implement rbac then run yii migrate --migrationPath=@yii/rbac/migrations/
  • Add to @app/config/main.php the code:
    // '/config/web.php' for Basic or '/backend/config/main' - Advanced Yii2 application.
    'modules' => [
    'rbac' => [
    'class' => 'githubjeka\rbac\Module',
    'as access' => [ // if you need to set access
      'class' => 'yii\filters\AccessControl',
      'rules' => [
          [
              'allow' => true,
              'roles' => ['@'] // all auth users 
          ],
      ]
    ]
    ],
    ],
  • go to url /index.php?r=rbac

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v2.0.0 is the latest of 4 releases



BSD-3-Clause license
Stats
84 github stars & 38 github forks
14 downloads in the last day
379 downloads in the last 30 days
22878 total downloads