Skip to content

optim1zer/gui-rbac-yii2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo https://basic-rbac-githubjeka.c9.io/basic/web/index.php?r=rbac

For yiisoft/yii2#42

Use on local

🐤 Follow the commands:

  • Check that the component authManager has been configured.
  • Add to your composer.json "githubjeka/yii2-gui-rbac": "*"
  • Run composer update
  • If your project doesn't have to implement rbac then run yii migrate --migrationPath=@yii/rbac/migrations/
  • Add to config/web.php (for basic app) or common/config/main.php (for advanced app)
'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

Concepts (Layout)

Force-based layout

Directed acyclic graphs

My algorithms graphs

Forms layout

About

RBAC Auth manager for Yii2 with GUI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.4%
  • PHP 42.2%
  • CSS 4.4%