From fcae7eb6eee2e2192c1cd5e46245f6f013b5c39b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sat, 19 May 2007 00:42:51 +0000 Subject: [PATCH] Monotone-Parent: 40c106f6426b8e1f4943286f3f606ecd1f013ced Monotone-Revision: 65e073a1a7c3638a4e473b21d5bb1d6818959ed1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-19T00:42:51 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/SOGo/SOGoContentObject.m | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00cca87c2..3d065b85c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-05-18 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoContentObject.m ([SOGoContentObject + -hasSupportForDefaultRoles]): override method by returning "YES". + * SoObjects/SOGo/NSArray+Utilities.m ([NSMutableArray -addObjectUniquely:object]): new method with an explicit name. diff --git a/SoObjects/SOGo/SOGoContentObject.m b/SoObjects/SOGo/SOGoContentObject.m index ed75b3ce3..451afdd76 100644 --- a/SoObjects/SOGo/SOGoContentObject.m +++ b/SoObjects/SOGo/SOGoContentObject.m @@ -218,9 +218,9 @@ : 0 /* 0 means 'do not check' */; /* attempt a save */ - - if ((error = [self saveContentString:[rq contentAsString] - baseVersion:baseVersion]) != nil) + + if ((error = [self saveContentString: [rq contentAsString] + baseVersion: baseVersion]) != nil) return error; /* setup response */ @@ -303,9 +303,9 @@ /* acls */ -- (NSArray *) acls +- (NSArray *) aclUsers { - return [container aclsForObjectAtPath: [self pathArrayToSoObject]]; + return [container aclUsersForObjectAtPath: [self pathArrayToSoObject]]; } - (NSArray *) aclsForUser: (NSString *) uid @@ -343,6 +343,11 @@ forObjectAtPath: [self pathArrayToSoObject]]; } +- (BOOL) hasSupportForDefaultRoles +{ + return YES; +} + /* message type */ - (NSString *) outlookMessageClass