dovecot-2.0: acl: Reverted last change. It still allows reading ...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 1 17:01:12 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/ef94878e8573
changeset: 12217:ef94878e8573
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 01 15:01:09 2010 +0100
description:
acl: Reverted last change. It still allows reading the default ACL from .DEFAULT file.

diffstat:

 src/plugins/acl/acl-backend-vfile.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (17 lines):

diff -r e12b7ee0a9dc -r ef94878e8573 src/plugins/acl/acl-backend-vfile.c
--- a/src/plugins/acl/acl-backend-vfile.c	Fri Oct 01 14:56:07 2010 +0100
+++ b/src/plugins/acl/acl-backend-vfile.c	Fri Oct 01 15:01:09 2010 +0100
@@ -173,11 +173,8 @@
 
 		vname = t_str_new(128);
 		mail_namespace_get_vname(ns, vname, name);
-		if (str_len(vname) > 0) {
-			aclobj->global_path =
-				i_strconcat(backend->global_dir, "/",
-					    str_c(vname), NULL);
-		}
+		aclobj->global_path = i_strconcat(backend->global_dir, "/",
+						  str_c(vname), NULL);
 	} T_END;
 
 	dir = acl_backend_vfile_get_local_dir(_backend, name);


More information about the dovecot-cvs mailing list