[Svn] r5232 - in trunk/roundcubemail: . program/include

trac at roundcube.net trac at roundcube.net
Sat Sep 17 18:46:31 CEST 2011


Author: alec
Date: 2011-09-17 11:46:31 -0500 (Sat, 17 Sep 2011)
New Revision: 5232

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/include/rcube_imap.php
Log:
- Fix locked folder rename option on servers supporting RFC2086 only (#1488089)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2011-09-17 16:10:55 UTC (rev 5231)
+++ trunk/roundcubemail/CHANGELOG	2011-09-17 16:46:31 UTC (rev 5232)
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix locked folder rename option on servers supporting RFC2086 only (#1488089)
 - Trigger 'new_messages' hook for all checked folders (#1488083)
 - Fix session race conditions when composing new messages
 - Fix encoding of LDAP contacts identifiers (#1488079)

Modified: trunk/roundcubemail/program/include/rcube_imap.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_imap.php	2011-09-17 16:10:55 UTC (rev 5231)
+++ trunk/roundcubemail/program/include/rcube_imap.php	2011-09-17 16:46:31 UTC (rev 5232)
@@ -3500,7 +3500,8 @@
         }
 
         if (!empty($options['rights'])) {
-            $options['norename'] = !in_array('x', $options['rights']);
+            $options['norename'] = !in_array('x', $options['rights']) && !in_array('d', $options['rights']);
+
             if (!$options['noselect']) {
                 $options['noselect'] = !in_array('r', $options['rights']);
             }

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list