mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 07:17:12 +00:00
Merge pull request #109 from Zentyal/ejhernandez/empty-acl-perms
The `[SOGoFolder:aclUsers]` returns a reference to a `NSArray` which is being modified in the `for` loop making fail when more than one user is in the ACL with `NSRangeException`.
This commit is contained in:
commit
6f70066986
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user