diff --git a/NEWS b/NEWS index 10a3737c1..810bdf358 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ Enhancements - Improve sync speed from Outlook by non-reprocessing already downloaded unread mails Bug fixes + - Fix setting permissions for a folder with several users - Fix reception of calendar event invitations on optional attendees - Fix server side crash parsing rtf without color table - Weekly recurring events created in SOGo web interface are now shown in Outlook diff --git a/OpenChange/MAPIStoreFolder.m b/OpenChange/MAPIStoreFolder.m index 19c826d7f..0d862b85e 100644 --- a/OpenChange/MAPIStoreFolder.m +++ b/OpenChange/MAPIStoreFolder.m @@ -1745,10 +1745,12 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe aclFolder = [self aclFolder]; - users = [aclFolder aclUsers]; + users = [[aclFolder aclUsers] copy]; max = [users count]; for (count = 0; count < max; count++) [aclFolder removeUserFromAcls: [users objectAtIndex: count]]; + + [users release]; } - (int) modifyPermissions: (struct PermissionData *) permissions