What you need here is a single sign on application. I think it is
easier to just replicate the application per company.

On Nov 27, 1:01 pm, James <[EMAIL PROTECTED]> wrote:
> I'm actually in the process of writing a plugin to extend sfGuard to  
> do just this.  The idea is I want a user to be able to sign up with  
> the same email address  as the username to multiple sights.   I have a  
> table of "sites" that use the common code. When a user signs up, their  
> username in sfGuard becomes email address hyphen site id.  so it would  
> be "[EMAIL PROTECTED]"  I change the login so that when they  
> signin, it checks the site that they are on and take it and add it to  
> the email when they log in.  Then every other database table has  
> references to the site id for data, so if it's a blog, then the site  
> gets the blook that references that site id.  I also use the site id  
> to define the template layout for the site.
>
> James
>
> > On Nov 25, 4:55 pm, Daniel Kurman <[EMAIL PROTECTED]> wrote:
> >> Hi all. I need to do a multi company app. Is there a way to learn how
> >> to do this?. Ideas. The idea is to have a login page. Through this,
> >> the user could see only the records corresponding to his company  
> >> only.
> >> I thought to use some kind of filter, but I don´t know if this could
> >> be done.
>
> >> Thanks in advance
>
>
--~--~---------~--~----~------------~-------~--~----~
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