[Dovecot] [patch] 'c' and 'd' in setacl

Timo Sirainen tss at iki.fi
Fri Feb 6 22:10:25 EET 2009


On Fri, 2009-02-06 at 12:29 +0100, Sascha Wilde wrote:
> I just recognized that the new imap-acl plugin in dovecot 1.2 does not
> know the obsolete rights 'd' and 'c' when setting.  
..
> [0] I don't like the use of static indexes witch imap_acl_letter_map but
>     currently I wasn't able to decide on a more elegant solution.

How about instead of

array_append(rights, &imap_acl_letter_map[8].name

something like:

str = MAIL_ACL_CREATE;
array_append(rights, &str

or something.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090206/8932c76c/attachment-0001.bin 


More information about the dovecot mailing list