Closed bakura10 closed 10 years ago
:+1:
This interface is really needed? Since Rbac
needs a string, I think you can accept only string and move this interface/casting to ZfcRbac
. What do you think?
Mmmhhh I think it makes sense. It's actually useful to have an interface for that. This allow the rbac to work with any implementation. I still want to keep some lines of code in the rbac component :D
Envoyé de mon iPhone
Le 14 déc. 2013 à 20:24, Daniel Gimenes notifications@github.com a écrit :
This interface is really needed? Since Rbac needs a string, I think you can accept only string and move this interface/casting to ZfcRbac. What do you think?
— Reply to this email directly or view it on GitHub.
I merge as I need that for ZfcRbac. If you have something to say about it, please do it ;-).
Kinda late, but :+1:
ping @arekkas @spiffyjr @danizord
I need your feedback on this. I'm actually thinking about reducing the interface of Permission so that we don't need to implement the getRoles. The idea is to remove the need of maintaining bi-directional association (which simplify a lot in Doctrine).
I can't really find a case where you would like to traverse the permission from the permission to the roles.