6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11713] Kolab backend: Newly created calendars lose all permissions
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.___. ,. ..__ >< [__ \./ | |[__) / \| | |/\||
Comment
> Fresh day, fresh eyes. I also took at look at this by comparing the > mnemo and the kronolith Kolab drivers. > -> I couldn't spot a big difference. > > So I started to add "exit(0)" statements to the addShare() function > in kronolith and see where the permissions get lost. Here's a quick > "fix" 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->hasPermission($GLOBALS['registry']->getAuth(), > Horde_Perms::SHOW)) { > $wrapper = new > Kronolith_Calendar_Internal(array('share' => $calendar)); > $result->saved = true; > > > > Wild guess: The "Create calendar" dialog does not show a permission > form. kronolith::readPermsForm() doesn't find any set rights and > therefore removes all ACLs. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers