Hi,
I'm looking for the best practice for managing many user profile types.
In my project, a user could have only one profile but there are many
types of profiles.
A possible solution:
- adding a profile_class field in sf_guard_user table
=> how to update plugin schema in project?
- redefine getProfile() method
=> how to redefine only this method in project/lib/model? I found 2
bad solutions (not upgrade proof):
- copy/paste PluginsfGuardUser.php (with all its method)
- edit direclty plugins/sfGuardPlugin/lib/model/sfGuardUser.php
(who extends PluginsfGuardUser.php)
I'm working on Sf 1.1.
Has someone already run into that purpose?
Thanks.
--
Nicolas CHARLOT
http://www.isics.fr
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---