mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user