]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage, acl: Move hiding non-listable public/shared mailboxes to lib-storage
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 11 Sep 2025 19:00:30 +0000 (22:00 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 30 Sep 2025 05:48:46 +0000 (05:48 +0000)
commit05340c977ddbc9b29ad27c3d3ae458b0ce6c96f3
tree86bd1b7f6ffbb05d487caab0bd23e4be48a5f33c
parent201bad6da5d5599672c60ffa12369f86d46f48c1
lib-storage, acl: Move hiding non-listable public/shared mailboxes to lib-storage

The subscriptions handling is now in lib-storage code, and ACL code doesn't
know about it. Change this so that if public/shared namespace has
subscriptions=yes (i.e. shared across all users), any nonexistent mailboxes'
subscriptions are hidden. This assumes that the user doesn't have enough
ACL rights to list the mailboxes, so they also don't want subscriptions for
them.
src/lib-storage/list/mailbox-list-iter.c
src/plugins/acl/acl-mailbox-list.c