Re: Some docs help

Lukas Kahwe Smith <[email protected]> Mon, 12 Sep 2005 09:55:59 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Guyren G Howe wrote:

> Sorry; still confused. I understand the separation you refer to, but  I 
> don't understand how we can have a *single* (on the perm table)  
> auth_container value, rather than one for each auth a user might want  
> to use (the user table).

you would have multiple of course ..

one row in liveuser_perm_users can map a single auth user from a single 
auth container to a perm user id.

> It doesn't matter if we're just authenticating against a single  
> container, but then you wouldn't need two tables. The only reason for  

you wouldnt need .. but we do not allow not having this table ..

> separating this into two tables is so you can have multiple  containers 
> for a single canonical user. But if I have multiple  containers, which 
> one of them does auth_container refer to?

like i said .. you would have to have multiple entries. in which case 
you would have to remove the primary key .. and you venture into 
untested territory.

regards,
Lukas