Monotone-Parent: fbd35c1bda900f820e4a0b103f299f77ae52fa16

Monotone-Revision: ba0063d228f496f6d43be55b3d6aeb33e2ba34e1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-24T22:43:33
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-04-24 22:43:33 +00:00
parent d4f2403ba7
commit f6c034eb63
5 changed files with 40 additions and 7 deletions

View File

@@ -1,5 +1,19 @@
2007-04-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailBaseObject.m ([SOGoMailBaseObject
-aclsForUser:uid]): new override that returns nil until we add
support for IMAP acls.
* SoObjects/Mailer/SOGoMailAccounts.m
([SOGoMailAccounts -aclsForUser:uid]): same as below.
* SoObjects/Contacts/SOGoContactLDAPFolder.m
([SOGoContactLDAPFolder -aclsForUser:uid]): same as below.
* SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
-aclsForUser:uid]): override this method which will always return
nil.
* SoObjects/SOGo/SOGoPermissions.[hm]: added
[Public,Private,Confidential]
x[Viewer,DAndTViewer,Responder,Modifier]. Renamed

View File

@@ -218,6 +218,12 @@
return [contactFolders allValues];
}
/* acls */
- (NSArray *) aclsForUser: (NSString *) uid
{
return nil;
}
// - (NSString *) roleOfUser: (NSString *) uid
// {
// NSArray *roles, *traversalPath;

View File

@@ -395,4 +395,11 @@
return @"vcard-collection";
}
/* acls */
/* TODO: this might change one day when we support LDAP acls */
- (NSArray *) aclsForUser: (NSString *) uid
{
return nil;
}
@end

View File

@@ -189,4 +189,11 @@ static NSString *AgenorShareLoginMarker = @".-.";
return YES;
}
/* acls */
- (NSArray *) aclsForUser: (NSString *) uid
{
return nil;
}
@end /* SOGoMailAccounts */

View File

@@ -183,12 +183,11 @@ static BOOL debugOn = YES;
return NO;
}
/* debugging */
- (NSString *)loggingPrefix {
/* improve perf ... */
return [NSString stringWithFormat:@"<0x%08X[%@]:%@>",
self, NSStringFromClass([self class]),
[self nameInContainer]];
/* acls */
#warning one day there will be code here to support IMAP acls
- (NSArray *) aclsForUser: (NSString *) uid
{
return nil;
}
@end /* SOGoMailBaseObject */