Summary | KOLAB: delete calendar via webclient fails |
Queue | Kronolith |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | stuart (at) |
Requester | zmully-kolab (at) smartbrief (dot) com |
Created | 03/17/2005 (7436 days ago) |
Due | |
Updated | 05/25/2005 (7367 days ago) |
Assigned | 05/20/2005 (7372 days ago) |
Resolved | 05/25/2005 (7367 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Feedback
http://cvs.horde.org/diff.php/framework/Kolab/Kolab.php?r1=1.31&r2=1.32&ty=u
operations are being done with the admin login, which is causing this
problem. See line ~1220 for an example:
$result =
$imap->login($conf['kolab']['imap']['adminuser'],$conf['kolab']['imap']['adminpw'], false,
false);
if (is_a($result, 'PEAR_Error')) {
return $result;
}
I changed this to use the user login but that breaks the share
synchronization. I am not yet familiar with the code, so I'd
appreciate a pointer in the right direction. I replaced the above code
with:
$result =
$imap->login(Auth::getAuth(),Auth::getCredential('password'),false,
false);
if (is_a($result, 'PEAR_Error')) {
return $result;
}
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ KOLAB: delete calendar via webclient fails
Queue ⇒ Kronolith
permission error " Horde/Kolab: Unable to remove calendar "testing":
NO, Permission denied" because Horde attempts to delete the calendar
using the "administrator" login (i.e. "manager"). This user doesn't
have rights on any folders in Cyrus by default, from cyradm:
mail> lam "user/cmcneilly/testing@smartbrief.com"
cmcneilly@smartbrief.com lrswicda
mail>
In order for the user to delete their own calendars, the following is
required:
mail> sam "user/cmcneilly/testing@smartbrief.com" manager all
At this point, the user can delete their calendar.
So whatever executes the delete need to do it as the user, not as the admin.
Thanks,
Z