[imp] Configuring ACL drivers in config/servers.php (Patch)

Chris Hastie lists at oak-wood.co.uk
Fri Feb 7 19:05:06 PST 2003


The attached patches make support for ACLs configurable on a per-server
basis in config/servers.php, in much the same way as for quotas.

There are a few other minor changes, including:

*   Report error messages from the IMAP server (use of @imap_setacl()
    suppresses this)

*   Change the parameters for canEdit(). The original function was based
    on a flawed assumption that whether a user could edit the ACL on a
    folder could be found out from the ACL. However, groups mess this
    up. Passing the ACL to canEdit() makes little sense. Instead, we
    pass the folder name. This is to facilitate possible use of the
    MYRIGHTS command in this function in future.

*   A few bits and pieces - loose an unnecessary regex, improve some
    others, use isset() rather than array_key_exists() in a few places.
-- 
Chris Hastie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ACL-patches.tar.gz
Type: application/octet-stream
Size: 3481 bytes
Desc: ACL-patches.tar.gz
Url : http://lists.horde.org/archives/imp/attachments/20030207/5d04610c/ACL-patches.tar.obj


More information about the imp mailing list