diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-10-28 11:54:53 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-10-28 11:54:53 +0100 |
commit | a140e6d213d492a94a332150214850945361bf74 (patch) | |
tree | dba79d48e0c160339e478b394bfcc8148900d126 | |
parent | 45bfde71d2e83d4f759ca6ae6e17cd293960fcea (diff) |
Fix bug where creating subfolders in shared folders wasn't possible without ACL extension (#1490113)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/steps/settings/save_folder.inc | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -59,6 +59,7 @@ CHANGELOG Roundcube Webmail - 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 ------------- diff --git a/program/steps/settings/save_folder.inc b/program/steps/settings/save_folder.inc index b8fc49060..30003aa05 100644 --- a/program/steps/settings/save_folder.inc +++ b/program/steps/settings/save_folder.inc @@ -68,7 +68,9 @@ else { } // 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']))) |