Hi Joel,

The sfMultisiteThemePlugin is available through the symfony plugin  
center.  I have yet to really start work on the guard plugin, right  
now I am trying to figure out the best approach.  Though I am leaning  
towards copying sfDoctrineGuard, and making modifications.  Why  
recreate the wheel when I can just make slight modifications.

James


On Jan 24, 2009, at 4:34 AM, Joel Cuevas wrote:

>
> Hi James!
>
> Where can I found more info about your plugin? I'm interested, maybe
> can help.
>
> I wrote a kind of multisite auth plugin too. It's so poor documented
> at this time that I can't publish it yet, but we could share some
> thoughts if you want. :)
>
> Greetings.
>
> - Joel
>
> On 23 ene, 20:31, James <[email protected]> wrote:
>> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to