Monotone-Parent: 9ef00254e19a7cd3faee64fba851af4a262d9b96

Monotone-Revision: a591a00688fc85c847f8d8141b114570c3ecef81

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-12T22:09:32
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-12 22:09:32 +00:00
parent a96c627f22
commit f5913f2127
2 changed files with 15 additions and 2 deletions
+5
View File
@@ -1,5 +1,10 @@
2007-06-12 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
-aclsForUser:uid]): implemented method by forwarding the request
to the container. This fixes a bug where users could no longer
read emails from shared folders.
* SoObjects/Appointments/SOGoCalendarComponent.m
([SOGoCalendarComponent -init]): "isNew" is no longer defined
here, but rather in its parent class.
+10 -2
View File
@@ -680,12 +680,15 @@ static BOOL debugSoParts = NO;
/* name lookup */
- (id)lookupImap4BodyPartKey:(NSString *)_key inContext:(id)_ctx {
- (id) lookupImap4BodyPartKey: (NSString *) _key
inContext: (id) _ctx
{
// TODO: we might want to check for existence prior controller creation
Class clazz;
clazz = [SOGoMailBodyPart bodyPartClassForKey:_key inContext:_ctx];
return [[[clazz alloc] initWithName:_key inContainer:self] autorelease];
return [clazz objectWithName:_key inContainer: self];
}
- (id)lookupName:(NSString *)_key inContext:(id)_ctx acquire:(BOOL)_flag {
@@ -1064,6 +1067,11 @@ static BOOL debugSoParts = NO;
return @"IPM.Message"; /* email, default class */
}
- (NSArray *) aclsForUser: (NSString *) uid
{
return [container aclsForUser: uid];
}
/* debugging */
- (BOOL)isDebuggingEnabled {