diff --git a/ChangeLog b/ChangeLog index ede62d2ce..8ed0ffc10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-09 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoUserFolder.m (-toManyRelationShipKeys) + (-lookupName:inContext:acquire:): fixed typo preventing access to + Contacts module. + 2009-12-08 Wolfgang Sourdeau * SoObjects/SOGo/WORequest+SOGo.m (-handledByDefaultHandler): diff --git a/SoObjects/SOGo/SOGoUserFolder.m b/SoObjects/SOGo/SOGoUserFolder.m index fe593b41d..f8dccf6ee 100644 --- a/SoObjects/SOGo/SOGoUserFolder.m +++ b/SoObjects/SOGo/SOGoUserFolder.m @@ -89,7 +89,7 @@ [children addObject: @"calendar-proxy-read"]; } } - if (isDAVRequest && [sd isAddressBookDAVAccessEnabled]) + if (!isDAVRequest || [sd isAddressBookDAVAccessEnabled]) [children addObject: @"Contacts"]; if ([currentUser canAccessModule: @"Mail"]) [children addObject: @"Mail"]; @@ -583,7 +583,7 @@ if (!obj && [_key isEqualToString: @"Contacts"] - && (isDAVRequest && [sd isAddressBookDAVAccessEnabled])) + && (!isDAVRequest || [sd isAddressBookDAVAccessEnabled])) obj = [self privateContacts: _key inContext: _ctx]; // else if ([_key isEqualToString: @"Preferences"])