[horde] Re: Using perms

Chuck Hagenbuch chuck at horde.org
Fri Mar 28 06:29:54 PST 2003

Quoting Jeroen Huinink <j.huinink at wanadoo.nl>:

> An example from whups:
> $perm = &$perms->newPermission('whups:comments:' . $comment_id);
> As I see it the permission doesn't get added to the object. A permission
> refers to an object. So in order to check permission you use the object
> id to retrieve a permission.

Right. How you relate object ids (which you use to name the permissions) to
objects is entirely up to you.


Charles Hagenbuch, <chuck at horde.org>
"... It is not more light we need, but more warmth! We die of cold, not of
darkness. It is not the night that kills, but the frost." - Miguel de

More information about the horde mailing list