dovecot-1.2: acl: Don't use root directory's dovecot-acl file as...

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 2 22:49:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/266266e90384
changeset: 8894:266266e90384
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 02 15:48:55 2009 -0400
description:
acl: Don't use root directory's dovecot-acl file as the default acl. With Maildir it's usually INBOX's ACL.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/plugins/acl/acl-backend-vfile.c |    3 +--

diffs (13 lines):

diff -r bf16646ec312 -r 266266e90384 src/plugins/acl/acl-backend-vfile.c
--- a/src/plugins/acl/acl-backend-vfile.c	Thu Apr 02 15:28:03 2009 -0400
+++ b/src/plugins/acl/acl-backend-vfile.c	Thu Apr 02 15:48:55 2009 -0400
@@ -152,8 +152,7 @@ acl_backend_vfile_object_init(struct acl
 
 	if (storage == NULL) {
 		/* the default ACL for mailbox list */
-		dir = mailbox_list_get_path(_backend->list, NULL,
-					    MAILBOX_LIST_PATH_TYPE_DIR);
+		dir = NULL;
 	} else {
 		dir = acl_backend_vfile_get_local_dir(storage, name);
 	}


More information about the dovecot-cvs mailing list