A Zend Framework 2 module to easily integrate ZfcUserDoctrineORM and ZfcRbac
Doctrine ORM Storage Adapter for UserRbac module.
- Add
"ujjwal/user-rbac-doctrine-orm": "dev-master"
to your composer.json and runphp composer.phar update
- Run command
vendor/bin/doctrine-module orm:schema-tool:update --force
to update schema - Enable this module and
UserRbac
inconfig/application.config.php
- Copy file located in
vendor/ujjwal/user-rbac/config/user-rbac.global.php
to./config/autoload/user-rbac.global.php
and change the values as you wish
Don't use this module. This is shit. If you use don't use Doctrine ORM, then use UserRbac module.