[Dovecot] Dovecot v1.2 assert() in ACL

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Jun 16 11:44:12 EEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 16 Jun 2009, Timo Sirainen wrote:

>> 4 getacl INBOX
>> * ACL "INBOX" "user"  "testusr" lrwstipekxacd
>> 4 OK Getacl completed.
>
> But yeah, it clearly can't just return emptyness there. Wonder if it could 
> return "" or something. I'll look into this tomorrow, unless someone already 
> can tell me the right way to handle this.

Digging a second time through RFC4314 I found this:

The first example in Sec 2.1.1

"               S: * LISTRIGHTS archive/imap anyone ""
                   lr s w i p k x t c d
"

In conjunction with Sec 3.7

"Following the identifier is a string
    containing the (possibly empty) set of rights the identifier will
    always be granted in the mailbox."

So "" for an empty set is needed.

=====

Now I wonder, why there exists "an empty set of rights" at all?

Shouldn't "SETACL mailbox id" (no rights string) behave differently than 
"DELETEACL mailbox id" then as well? Currently it removes the ACL entry of 
id.

Reading the RFC I get the impression, that SETACL should have three 
arguments always.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSjdbXnWSIuGy1ktrAQI8QAf9GheGY8S1iUl6dyvFTRcDq7b1dROmC4DT
ipNvezqUyG8p6sK3gljsO0DdauDmzMmZoPao31ZyvFGSNZkaN/c3tVpui4qYLYhx
exVXEajNyONdsVDWyvEAooVWATEC7rTVRWqLCpF3g3kxQcAtz0VZlG/JSwBr3VbP
7y0tPIQBsJvPaLdLEQ8I30myEIlNZbSgP7v/bcngsq0xZF6HHXqJdf4jyBLrO26R
JzWTYnN1i/dZGEPM8NIsmr+ZqTSfwkHTasO6QTzPo/CWv8ZlXkTNWNnwsatTmxFm
E+NnZZ90S7pbm/2FXoXplzRiHdxrn/6l0uaQUY9mR0Kb/76hMXU4aA==
=H8ZK
-----END PGP SIGNATURE-----


More information about the dovecot mailing list