Monotone-Parent: dd0f98cf89d78f378ec83484a40047514086bc36

Monotone-Revision: 846898c32d1bedf090b028559140bf62812511c5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-06-13T20:08:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-06-13 20:08:45 +00:00
parent b134f4544d
commit e87a114405
3 changed files with 13 additions and 1 deletions
+8 -1
View File
@@ -200,6 +200,7 @@ static NSDictionary *reportMap = nil;
container = nil;
owner = nil;
webdavAclManager = [[self class] webdavAclManager];
activeUserIsOwner = NO;
}
return self;
@@ -255,8 +256,14 @@ static NSDictionary *reportMap = nil;
- (NSString *) ownerInContext: (id) localContext
{
NSString *uid;
if (!owner)
owner = [container ownerInContext: context];
{
owner = [container ownerInContext: context];
uid = [[localContext activeUser] login];
activeUserIsOwner = [owner isEqualToString: uid];
}
return owner;
}