Thanks for your answer Daniel... So I will modify my code in order to return an array of string in my getRoles Method...
I hope Zf2 will be refactoring in a good way... It's indeed infortunate to constrain to implement the Zend\Permissions\Rbac\RoleInterface and to don't really use it... When Zf2 will be refactoring, I hope ZfcRbac module will maintain its philosophy : there is no dependances between this module and others. It seems to work easily regardless of whether the developer use Doctrine or not. Thanks again for your answer -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZfcRbac-with-DoctrineORMModule-problem-with-isGranted-method-tp4659951p4659956.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com