]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota: quota-status - Don't allow running as root
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 1 Apr 2026 15:09:42 +0000 (18:09 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 3 Apr 2026 19:22:16 +0000 (19:22 +0000)
Originally it it was forgotten to be prevented, and it was changed to be
explicitly allowed by e0dae5d76ea0a4aef849602750ce73dfae995bc8.

src/plugins/quota/quota-status.c

index 860555421c23868f4218372f6040b60dca52ab05..562f493971f31ba6e4cfbb6b0d0b1b2ceab3d76c 100644 (file)
@@ -343,7 +343,6 @@ static void main_init(void)
 
        clients = connection_list_init(&client_set, &client_vfuncs);
        storage_service = mail_storage_service_init(master_service,
-               MAIL_STORAGE_SERVICE_FLAG_ALLOW_ROOT |
                MAIL_STORAGE_SERVICE_FLAG_USERDB_LOOKUP |
                MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP |
                MAIL_STORAGE_SERVICE_FLAG_ENABLE_CORE_DUMPS |