Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

githubjeka/gui-rbac-yii2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

69 Commits

Repository files navigation

How to install

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:
[ 'rbac' => [ 'class' => 'githubjeka\rbac\Module', 'as access' => [ // if you need to set access 'class' => 'yii\filters\AccessControl', 'rules' => [ [ 'allow' => true, 'roles' => ['@'] // all auth users ], ] ] ], ],">// '/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

About

GUI for RBAC Yii2 Auth manager

Topics

Resources

Readme

Stars

Watchers

Forks

Packages

No packages published

Contributors 3