Univention Bugzilla – Bug 41138
support creation of subfolders in shared folders
Last modified: 2018-01-03 10:33:47 CET
Created attachment 7618 [details]
add UCRV to toggle mail_shared_explicit_inbox and IMAP ACLs kx
+++ This bug was initially created as a clone of Bug #41022 +++
- The permissions "k" and "x" should be added to "all"
- It should be possible to create subfolder under shared_folders
--> suggestion: UCRV "mail_shared_explicit_inbox"
Attached is a patch to add necessary configuration (UCRV) and IMAP ACLs (k & x) for creating subfolders in shared and public folders (with and without email address).
It is *NOT* complete (and poorly tested): the listener modification does only handle folder creation, not moving.
The Enterprise Customer affected flag is set but neither a Ticket number is referenced nor a Customer ID is set. Please set a Ticket number or a Customer ID. Otherwise the Enterprise Customer affected flag will be reset.
Requested again: https://help.univention.com/t/unterordner-fur-globale-imap-ordner/5308
I may have found a solution, that could be well managed by the listener module: http://help.univention.com/t/shared-folder-keine-berechtigung-fur-unterordner/5376/8
Requested again Ticket#2017100621000202
Creating subfolder in shared folders without email address (aka public mailboxes) was possible directly after adding 'k' and 'x' to the permissions of 'all'.
For shared folders with email address (aka shared mailboxes) the required ACLs cannot be read from a parent namespace, so they are set using global ACLs.
The configuration was changed in conffiles/etc/dovecot/conf.d/90-acl.conf.
The listener code was modified to maintain the global ACLs file.
A test was added to verify that a) subfolder can be created and b) ACLs are honored.
Changes are in branch dtroeder/41138_dovecot_shared_subfolders and have not been merged to 4.2:
39c24777: add support for creating subfolders in shared folders
9eed5786: add test for creating subfolders in shared folders (both with and without email address)
88e4c15d4f: enable global ACLs (should have been in 39c24777)
13265f3f: fix acl template
OK: code change
OK: manual test
→ tested with kontact and thunderbird before and after the update
OK: automatic test