[geeklog-devel] Circular group references

Blaine Lang geeklog at langfamily.ca
Sat May 17 12:37:58 EDT 2003

Sure - maybe I can use some of the logic I had to figure out for that Block
I wrote a few weeks ago to query and update the access rights. I had to work
at the SQL level.

I will work on that.

BTW, I duplicated the problem - nasty but I'm sure very unusual.

----- Original Message -----
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Sent: Saturday, May 17, 2003 12:20 PM
Subject: Re: [geeklog-devel] Circular group references

> Blaine Lang <geeklog at langfamily.ca> wrote:
> > When adding a new group we just check to see if the user is already a
> >member of that group?
> Geeklog shouldn't let you add a group (A) to another group (B) if B is
> already in A. This sounds trivial but isn't when a third group becomes
> involved. Also, this is in the group editor, so most of those nice
> functions we have in lib-security.php can't be used since they operate on
> user ids (or the current user).
> In other words, the task is to write a function that checks for circular
> group references (working only on group assignments).
> bye, Dirk
> --
> http://www.haun-online.de/
> http://mypod.de/
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel

More information about the geeklog-devel mailing list