Hello!

In my doctrine class (lib/model/doctrine/XXX.class.php) I have overwritten
the constructor.
The reason is I need to validate that an user can load this object
(photograph in my case).
Then, when I load a collection of photographs ($photoAlbum->getPhotos()) the
constructor
check the permissions.

To do it I need that the doctrine class can access to the sfGuardUser.
Is there any possibility for this class to access the user without being
passed as a parameter?

Thank you!

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to