From 76870adb732f29825313e8b7764f69749fcf8385 Mon Sep 17 00:00:00 2001
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date: Wed, 13 Feb 2013 15:34:52 +0100
Subject: [PATCH] Fix Horde_Perms::EDIT permission for Kolab (#12025)

To edit objects on a Kolab IMAP server,
one needs the ability to delete existing messages.
Otherwise it's not possible to "update" them.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
---
 framework/Perms/lib/Horde/Perms/Permission/Kolab/Element.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/Perms/lib/Horde/Perms/Permission/Kolab/Element.php b/framework/Perms/lib/Horde/Perms/Permission/Kolab/Element.php
index 0bde406..eb25775 100644
--- a/framework/Perms/lib/Horde/Perms/Permission/Kolab/Element.php
+++ b/framework/Perms/lib/Horde/Perms/Permission/Kolab/Element.php
@@ -85,7 +85,7 @@ abstract class Horde_Perms_Permission_Kolab_Element
             $result .= 'r';
         }
         if ($this->_permission & Horde_Perms::EDIT) {
-            $result .= 'iswc';
+            $result .= 'iswcd';
         }
         if ($this->_permission & Horde_Perms::DELETE) {
             $result .= 'd';
-- 
1.7.11.7