mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-11 18:46:51 +01:00
Fix folder creation under public namespace root (#1488665)
This commit is contained in:
@@ -3297,11 +3297,8 @@ class rcube_imap extends rcube_storage
|
||||
}
|
||||
|
||||
// Get folder rights (MYRIGHTS)
|
||||
if ($acl && !$options['noselect']) {
|
||||
// skip shared roots
|
||||
if (!$options['is_root'] || $options['namespace'] == 'personal') {
|
||||
$options['rights'] = (array)$this->my_rights($folder);
|
||||
}
|
||||
if ($acl && ($rights = $this->my_rights($folder))) {
|
||||
$options['rights'] = $rights;
|
||||
}
|
||||
|
||||
// Set 'norename' flag
|
||||
|
||||
Reference in New Issue
Block a user