<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Kolab backend: Newly created calendars lose all permissions</title> 
  <pubDate>Fri, 10 Apr 2026 18:27:28 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11713</link> 
  <atom:link rel="self" type="application/rss+xml" title="Kolab backend: Newly created calendars lose all permissions" href="https://bugs.horde.org/ticket/11713/rss" /> 
  <description>Kolab backend: Newly created calendars lose all permissions</description> 
 
   
   
  <item> 
   <title>Hi,

newly created calendars in kronolith lose all IMAP pe</title> 
   <description>Hi,

newly created calendars in kronolith lose all IMAP permissions. I can only see the implicit rights provided by cyrus imapd: lkxca

Creating new shares in mnemo/nag works fine. When I repair the ACLs via imp,
even the Kolab folder type annotation was set correctly during the creation.

Side note: For testing trean, I played around with the permissions backend. I made sure it&#039;s disabled now as it was a few days ago and also cleared all caches (horde, browser, PHP sessions).

Thomas
</description> 
   <pubDate>Thu, 15 Nov 2012 13:41:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74814</link> 
  </item> 
   
  <item> 
   <title>I&#039;ve banging my head for hours against this and cannot find </title> 
   <description>I&#039;ve banging my head for hours against this and cannot find out why this only happens in Kronolith. Also, the ACL-permission-mapping for Kolab is broken IMO. See attached patch that gets rid of creator permissions and fixes the ACLs for ALL permissions. Kolab (or IMAP for that matter) doesn&#039;t support anything like what &quot;creator&quot; means in Horde, so don&#039;t try to map this to the folder creator (share &quot;owner&quot; in Horde).</description> 
   <pubDate>Thu, 15 Nov 2012 18:02:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74830</link> 
  </item> 
   
  <item> 
   <title>Fresh day, fresh eyes. I also took at look at this by compar</title> 
   <description>Fresh day, fresh eyes. I also took at look at this by comparing the mnemo and the kronolith Kolab drivers.
-&gt; I couldn&#039;t spot a big difference. 

So I started to add &quot;exit(0)&quot; statements to the addShare() function in kronolith and see where the permissions get lost. Here&#039;s a quick &quot;fix&quot; for the issue:

diff --git a/kronolith/lib/Ajax/Application/Handler.php b/kronolith/lib/Ajax/Application/Handler.php
index d8ba110..e985696 100644
--- a/kronolith/lib/Ajax/Application/Handler.php
+++ b/kronolith/lib/Ajax/Application/Handler.php
@@ -954,7 +954,7 @@ class Kronolith_Ajax_Application_Handler extends Horde_Core_Ajax_Application_Han
                 }
                 try {
                     $calendar = Kronolith::addShare($info);
-                    Kronolith::readPermsForm($calendar);
+                    // Kronolith::readPermsForm($calendar);
                     if ($calendar-&gt;hasPermission($GLOBALS[&#039;registry&#039;]-&gt;getAuth(), Horde_Perms::SHOW)) {
                         $wrapper = new Kronolith_Calendar_Internal(array(&#039;share&#039; =&gt; $calendar));
                         $result-&gt;saved = true;



Wild guess: The &quot;Create calendar&quot; dialog does not show a permission form. kronolith::readPermsForm() doesn&#039;t find any set rights and therefore removes all ACLs.
</description> 
   <pubDate>Fri, 16 Nov 2012 08:57:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74842</link> 
  </item> 
   
  <item> 
   <title>Since the affected code is in &quot;kronolith/lib/Ajax/Applicatio</title> 
   <description>Since the affected code is in &quot;kronolith/lib/Ajax/Application/Handler.php&quot;, I thought it might be nice to try to non-AJAX version of kronolith.

-&gt; Permissions are fine in traditional kronolith.
</description> 
   <pubDate>Fri, 16 Nov 2012 09:02:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74843</link> 
  </item> 
   
  <item> 
   <title>&gt; Wild guess: The &quot;Create calendar&quot; dialog does not show a p</title> 
   <description>&gt; Wild guess: The &quot;Create calendar&quot; dialog does not show a permission 
&gt; form. kronolith::readPermsForm() doesn&#039;t find any set rights and 
&gt; therefore removes all ACLs.

No. This also happens when using the shares dialog in the basic view. And the permission form *is* submitted from dynamic view, it&#039;s only hidden by default - see the advanced sharing tab in the calendar dialog.</description> 
   <pubDate>Fri, 16 Nov 2012 10:16:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74845</link> 
  </item> 
   
  <item> 
   <title>&gt; No. This also happens when using the shares dialog in the </title> 
   <description>&gt; No. This also happens when using the shares dialog in the basic view. 
&gt; And the permission form *is* submitted from dynamic view, it&#039;s only 
&gt; hidden by default - see the advanced sharing tab in the calendar 
&gt; dialog.

When I open the &quot;advanced sharing&quot; tab without creating anything in the backend yet,
the &quot;Object creator&quot; (=IMAP folder owner) doesn&#039;t have any rights set. Is that by design?
</description> 
   <pubDate>Fri, 16 Nov 2012 11:31:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74846</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; No. This also happens when using the shares dialog in the</title> 
   <description>&gt;&gt; No. This also happens when using the shares dialog in the basic view.
&gt;&gt; And the permission form *is* submitted from dynamic view, it&#039;s only
&gt;&gt; hidden by default - see the advanced sharing tab in the calendar
&gt;&gt; dialog.
&gt;
&gt; When I open the &quot;advanced sharing&quot; tab without creating anything in 
&gt; the backend yet,
&gt; the &quot;Object creator&quot; (=IMAP folder owner) doesn&#039;t have any rights 
&gt; set. Is that by design?
&gt;

See my earlier comment. These shouldn&#039;t be mapped to each other at all. While tracing down what the problem with Kronolith is, I noticed that the current folder ACL is not correctly retrieved, which is reflected to the permissions screen, like you noticed too. So mapping permissions to ACLs isn&#039;t working in either direction.</description> 
   <pubDate>Fri, 16 Nov 2012 12:39:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74847</link> 
  </item> 
   
  <item> 
   <title>The analysis from Thomas is correct: The section &quot;// Process</title> 
   <description>The analysis from Thomas is correct: The section &quot;// Process creator permissions.&quot; within Kronolith::readPermsForm currently removes all creator permissions.

I&#039;m totally fine with removing the permission mapping between &quot;creator&quot; and &quot;share owner&quot;. There is no correct mapping between the Horde permission world and the Kolab permission world at the moment.

The question is how much the removal of the creator permission mapping would impair usability. Would it still be displayed even with the Kolab backend and even though any setting there has no effect? Of course the current Kronolith &quot;DELEGATE&quot; permission currently has the same problem.

In the long run one would probably need to modify Horde so that it allows for different permission models depending on the selected backend. But I guess that would be a major undertaking.

Right now I don&#039;t see how I can fix anything here. I could apply Jan&#039;s fix but would rather leave that to him. </description> 
   <pubDate>Thu, 22 Nov 2012 18:32:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t74978</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit f04ce7db09f0</title> 
   <description>Changes have been made in Git (master):

commit f04ce7db09f0230ba531cad3e7ce51b8ecbddd3b
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Wed Dec 5 19:22:39 2012 +0100

    [jan] Remove creator permission mapping from Kolab backend (Bug #11713).

 .../Perms/lib/Horde/Perms/Permission/Kolab.php     |   14 +++-
 .../Horde/Perms/Permission/Kolab/Acl/Creator.php   |   43 ----------
 .../Horde/Perms/Permission/Kolab/AclIterator.php   |   11 +--
 .../Perms/Permission/Kolab/Element/Creator.php     |   81 --------------------
 .../Perms/Permission/Kolab/ElementIterator.php     |   21 +++---
 framework/Perms/package.xml                        |   14 +--
 framework/Perms/test/Horde/Perms/KolabTest.php     |   72 +-----------------
 7 files changed, 31 insertions(+), 225 deletions(-)

http://git.horde.org/horde-git/-/commit/f04ce7db09f0230ba531cad3e7ce51b8ecbddd3b</description> 
   <pubDate>Wed, 05 Dec 2012 18:23:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t75429</link> 
  </item> 
   
  <item> 
   <title>This fixes usage of creator permissions from Kolab backends.</title> 
   <description>This fixes usage of creator permissions from Kolab backends. In another step we need to adapt the permissions screens to only show supported permissions, but that&#039;s a different issue.</description> 
   <pubDate>Wed, 05 Dec 2012 18:24:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t75430</link> 
  </item> 
   
  <item> 
   <title>Permissions are working now. Thanks Jan and Gunnar.
</title> 
   <description>Permissions are working now. Thanks Jan and Gunnar.
</description> 
   <pubDate>Thu, 06 Dec 2012 10:38:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11713#t75443</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
