[dev] Deny permissions

Chuck Hagenbuch chuck at horde.org
Wed May 28 05:01:40 PDT 2003


Quoting Jason Rust <jrust at rustyparts.com>:

> Thinking this over some more one idea that just came to mind is to
> develop some sort of coupling of hooks to groups.  I could see this
> being very useful.  For example a group 'foo' is made which corresponds to
> _hooks_group_foo() which looks up in some database if the user is part
> of department X, or in my case checks to see if they are authenticated.
> This doesn't seem like it would be particularly hard to implement and
> would allow permissions to be very powerful, but without adding any
> extra complication to the average user.

The Group class allows for subclasses to be defined - want to submit one
that implements this?

-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