Monotone-Parent: a82b89ed6794d62fbcabb12688b8956d64694462

Monotone-Revision: ea86e141cbd73fc3e86b88728a7c612afe996d19

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-08-07T13:31:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-08-07 13:31:55 +00:00
parent 3e364f512f
commit be05ecb080
2 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
2008-08-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoUserFolder+Appointments.m
([SOGoUserFolder -davCalendarUserAddressSet]): the addresses
returned should be those of the owner and not of the current user.
* SoObjects/Appointments/SOGoAppointmentObject.m
([SOGoAppointmentObject +webdavAclManager]): declare DAV:write as
equivalent of ..._ModifyComponent (instead of DAV:write-content).

View File

@@ -47,15 +47,16 @@
- (NSArray *) davCalendarUserAddressSet
{
NSArray *tag, *allEmails;
NSArray *tag;
NSMutableArray *addresses;
NSEnumerator *emails;
NSString *currentEmail;
SOGoUser *ownerUser;
addresses = [NSMutableArray array];
allEmails = [[context activeUser] allEmails];
emails = [allEmails objectEnumerator];
ownerUser = [SOGoUser userWithLogin: owner roles: nil];
emails = [[ownerUser allEmails] objectEnumerator];
while ((currentEmail = [emails nextObject]))
{
tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D",