dovecot-2.2: imap-quota: Admin user can (again) use GETQUOTA for...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Dec 8 21:26:49 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/51edc7daf7f0
changeset: 17045:51edc7daf7f0
user: Timo Sirainen <tss at iki.fi>
date: Sun Dec 08 21:24:10 2013 +0200
description:
imap-quota: Admin user can (again) use GETQUOTA for other users' quota roots.
diffstat:
src/plugins/imap-quota/imap-quota-plugin.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 3e8f300175bb -r 51edc7daf7f0 src/plugins/imap-quota/imap-quota-plugin.c
--- a/src/plugins/imap-quota/imap-quota-plugin.c Sun Dec 08 21:22:38 2013 +0200
+++ b/src/plugins/imap-quota/imap-quota-plugin.c Sun Dec 08 21:24:10 2013 +0200
@@ -138,7 +138,6 @@
return FALSE;
root = quota_root_lookup(cmd->client->user, root_name);
-#if 0
if (root == NULL && cmd->client->user->admin) {
/* we're an admin. see if there's a quota root for another
user. */
@@ -150,7 +149,6 @@
quota_root_lookup(owner, p + 1);
}
}
-#endif
if (root == NULL) {
client_send_tagline(cmd, "NO Quota root doesn't exist.");
return TRUE;
More information about the dovecot-cvs
mailing list