Mercurial > dovecot > original-hg > dovecot-2.2
changeset 17045:51edc7daf7f0
imap-quota: Admin user can (again) use GETQUOTA for other users' quota roots.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 08 Dec 2013 21:24:10 +0200 |
parents | 3e8f300175bb |
children | fa84a2cd1dce |
files | src/plugins/imap-quota/imap-quota-plugin.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;