Le 15/03/2011 16:34, Christophe COEVOET a écrit :
Le 15/03/2011 16:30, Johannes Schmitt a écrit :
I'm wondering what methods would you like to add? The ones in the
FOSUserBundle are far from ideal, and are mainly there for legacy
reasons.
Kind regards,
Johannes
The ones in FOSUB are broken since they cannot access the security
context form the parent class anymore.
The issue now is that there is no way to access the current user in the
template using the security bundle helpers (useful to display some infos
about the current user in the layout for example) as the only method is
isGranted.
I think such a method should be added instead of requiring each user to
define a Twig extension or a templating helper which uses the security
context.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en