Last week I introduced sfMultisiteGuardPlugin (sMGP) to the community. I am now starting work on a second plugin "sfMultisiteGuardPlugin". The idea of sMGP is that you can create a website, and point multiple domains to it. The downfall is if you use sfGuard for your security then every user who registers for one site has access to all the others unless you put in provisions to keep them from accessing them (which is easy enough). Then the problem is if someone signs up for one site, and then wants to sign up at a different site with the same username (in my case email address) they can't because the username field in the sfGuardUser table is set to unique. I am trying to figure out the best way to handle this. I have thought taking the sfGuard plugin in whole and making modifications to it. Or do I try to extend the existing sfGuard
My general thought for extending sfGuard was to append the sfMultisiteProfile id to the username so it's something like [email protected] , but I see some potential issues. For example the sfGuard admin pages would now show incorrect user names they would all be the appended version. If I copy and modify I think i'd be simpler because I can add an actual field to the table for the profile id and make the uniquness based between the username and the profile id. Then I'd just have to watch for updates to sfGuard and copy them so that if there are any patches they stay consistent. Thoughts? James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
