Re: Some docs help

Lukas Kahwe Smith <[email protected]> Mon, 12 Sep 2005 09:16:42 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Guyren G Howe wrote:
> I'm currently writing up some documentation about using LiveUser for  
> other developers on my team. I think there's a good chance I can  
> contribute these docs to the project.

great

> In the meantime, I would appreciate some help filling in the blanks.  
> Some simple questions follow:

yeah so you asking early in the day on IRC, but you were gone before I 
could answer.

> In the table liveuser_perm_users, what is the purpose of the fields  
> auth_container_name and perm_type? auth_container_name would seem to  be 
> something to do with the source of authorization for the user. But  
> since the authorization system-specific info about a user goes (I  
> understand) in liveuser_users, I can't fathom what this field is for.

yes, all auth specific data is stored in the liveuser_users table. 
however remember that the purpose of liveuser_perm_users is to map a 
specific auth user from a specific auth container to a perm user. also 
remember that the same auth user id could be used in multiple auth 
container sources and therefore to uniquely identify an auth user you 
need to use the auth user id _and_ auth container name.

> What about owner_user_id and owner_group_id in liveuser_users and  other 
> tables?

these could be used to store who owns the given data inside the given 
row. this is useful if you use the right levels in the complex container.

> What is the purpose of liveuser_groups.group_type?

this is just a metadata field to help people separate "user groups" from 
"roles" ..

regards,
Lukas