[dev] Deny permissions

Chuck Hagenbuch chuck at horde.org
Wed May 28 19:22:13 PDT 2003


Quoting Jason Rust <jrust at rustyparts.com>:

> Attached is an implementation of a groups driver that allows for hooks.
> I tested it out and it works nicely.  It basically allows for the
> dynamic adding of users to a group, such that a group can have regular
> users in it and then you can define a hook which would allow additional
> users to be in it as well.  The only limitation is that because the
> group is dynamic there is no way to list the "hook" users that are in
> it.

Hrm. The biggest problem I see with this is that it requires iterating
through every single group to check for hooks. That loses the benefit of
the category updates that I've been committing. Any chance of an
implementation that doesn't require that?

Also, it should probably be Group_hooks, not Group_Hooks.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
The alligators were there, too, in a bathtub inside the house.



More information about the dev mailing list