[dev] Projects management module and Groups.php

Chuck Hagenbuch chuck at horde.org
Fri Sep 5 07:11:06 PDT 2003


Quoting Carlos Pedrinaci <cpedrinaci at yahoo.es>:

> I updated yesterday... just before I posted on the list.

Okay, so I've poked around a bit, and I think I can see what you're talking
about, but the things you're doing with groups are a bit complicated, so I
can't really see what's going on without having access to fiddle with the code,
see the groups in the db, etc.

Most likely what is going on is that listUsers() doesn't return users in
subgroups, but userIsInGroup() searches subgroups by default. So you have some
interaction between that going on.

Btw, because of the above, using subgroups to store discharged and refused users
is probably going to cause you problems eventually.

Sorry I can't offer you anything more concrete so far - I hope this helps at
least a little.

-chuck

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


More information about the dev mailing list