[dev] Re: Shares bug with group permissions?

Chuck Hagenbuch chuck at horde.org
Tue Jul 29 20:27:12 PDT 2003


Quoting Rob Lineweaver <rlineweaver at harrisonburg.k12.va.us>:

> here, 13 and 18 are the category_id numbers for Group1 and Group2.  But since
> the group perms are stored by the group's category_name (not category_id), it
> actually needs to look like:
>
> .. OR (attribute_name = 'perm_groups' AND attribute_key IN ('Group1',
> 'Group2')

Actually, we really want to store group ids, not group names, so that this works
and also shares don't lose permissions if a group is renamed, etc.

Try what I just committed to lib/Perms.php.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.


More information about the dev mailing list