[gollem] muvfs question

Jan Schneider jan at horde.org
Sun Nov 27 05:44:53 PST 2005


Zitat von Christopher Arnold <christopher.arnold at tufts.edu>:

> 1st post, please excuse if this has been answered and I didn't use a
> correct search string looking though the archives.
>
> I _believe_ I need the exact opposite of the muvfs functionality; I need
> multiple users to have one VFS home directory based on their group
> membership (which is unique).  I was trying to figure out how to get the
> getHome() function to return what I need with a query of the
> horde_datatree table:
>
>     SELECT datatree_name FROM horde_datatree WHERE
> group_uid='horde.groups' AND user_uid=???
>
> Any thoughts on how to achieve this?  It doesn't matter to me what VFS
> backend I use so if one makes more sense than another....

Use the Group API instead, e.g. Group::getGroupMemberships(Auth::getAuth()).

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the gollem mailing list