mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 18:35:10 +00:00
Monotone-Parent: 733898f2b6e525ffa05bcf6a3544671572ece02b
Monotone-Revision: 42c9bd72b2fe1b4652131b0e73ac38e10f8838f1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-22T18:35:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#import <unistd.h>
|
||||
#import <stdlib.h>
|
||||
|
||||
static NSString *defaultUserID = @"<default>";
|
||||
|
||||
@implementation SOGoFolder
|
||||
|
||||
+ (int) version
|
||||
@@ -341,8 +343,8 @@
|
||||
[self _cacheRoles: acls forUser: uid forObjectAtPath: objectPath];
|
||||
}
|
||||
|
||||
if (!([acls count] || [uid isEqualToString: SOGoDefaultUserID]))
|
||||
acls = [self aclsForUser: SOGoDefaultUserID
|
||||
if (!([acls count] || [uid isEqualToString: defaultUserID]))
|
||||
acls = [self aclsForUser: defaultUserID
|
||||
forObjectAtPath: objectPathArray];
|
||||
|
||||
return acls;
|
||||
@@ -451,6 +453,11 @@
|
||||
forObjectAtPath: [self pathArrayToSoObject]];
|
||||
}
|
||||
|
||||
- (NSString *) defaultUserID
|
||||
{
|
||||
return defaultUserID;
|
||||
}
|
||||
|
||||
- (BOOL) hasSupportForDefaultRoles
|
||||
{
|
||||
return YES;
|
||||
|
||||
Reference in New Issue
Block a user