Aleksander Machniak
2014-10-28 b5fd858eb21da1a17dd4b3dd76c84f7b4eb805e3
Fix bug where creating subfolders in shared folders wasn't possible without ACL extension (#1490113)
2 files modified
5 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/settings/save_folder.inc 4 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -11,6 +11,7 @@
- Fix handling of uuencoded messages if messages_cache is enabled (#1490108)
- Fix handling of base64-encoded attachments with extra spaces (#1490111)
- Fix handling of UNKNOWN-CTE response, try do decode content client-side (#1490046)
- Fix bug where creating subfolders in shared folders wasn't possible without ACL extension (#1490113)
RELEASE 1.0.3
-------------
program/steps/settings/save_folder.inc
@@ -70,7 +70,9 @@
}
// Check access rights to the parent folder
if (!$error && strlen($path) && (!strlen($old_imap) || $old_imap != $name_imap)) {
if (!$error && strlen($path) && (!strlen($old_imap) || $old_imap != $name_imap)
    && $STORAGE->get_capability('ACL')
) {
    $parent_opts = $STORAGE->folder_info($path);
    if ($parent_opts['namespace'] != 'personal'
        && (empty($parent_opts['rights']) || !preg_match('/[ck]/', implode($parent_opts['rights'])))