From fb1a0448af485b75f6fb90cecb5a493472d9f24e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 15 Jan 2010 15:31:38 +0000 Subject: [PATCH] Monotone-Parent: fb65b0d0f170c30fcadecf001ad33a8fc79e9e89 Monotone-Revision: 794a50b6a0041893b3ec57a38bbb3a7bbf1dee9c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-15T15:31:38 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 9 +++++++++ SoObjects/SOGo/SOGoUserSettings.m | 8 ++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 316fecbeb..eb25cbb12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-01-15 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoUserSettings.m + (-setCalendarProxyUsers:withWriteAccess:) + (calendarProxyUsersWithWriteAccess:) + (setCalendarProxySubscriptionUsers:withWriteAccess:) + (calendarProxySubscriptionUsersWithWriteAccess:): "Read" and + "Write" were inverted. + 2010-01-14 Wolfgang Sourdeau * SoObjects/Appointments/SOGoAppointmentFolder.m diff --git a/SoObjects/SOGo/SOGoUserSettings.m b/SoObjects/SOGo/SOGoUserSettings.m index 916df8326..4fb7c9acd 100644 --- a/SoObjects/SOGo/SOGoUserSettings.m +++ b/SoObjects/SOGo/SOGoUserSettings.m @@ -79,7 +79,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@Users", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; [self setObject: proxyUsers forKey: key]; } @@ -89,7 +89,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@Users", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; return [self arrayForKey: key]; } @@ -101,7 +101,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@SubscriptionUsers", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; [self setObject: subscriptionUsers forKey: key]; } @@ -111,7 +111,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@SubscriptionUsers", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; return [self arrayForKey: key]; }