Monotone-Parent: 15215e74bf0a86641e93f5887afd6597933439fc

Monotone-Revision: b71e0e986f6831af4e2277975bc3b9740f40ca95

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-16T22:29:08
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-10-16 22:29:08 +00:00
parent 93005e568c
commit 3cc531173c
2 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2007-10-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Common/UIxAclEditor.m ([UIxAclEditor -hasOwner]): new method
that returns whether the object has an owner or not.
2007-10-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoFolder.m ([SOGoFolder -ocsFolder]): create

View File

@@ -87,6 +87,15 @@
return [self _displayNameForUID: ownerLogin];
}
- (BOOL) hasOwner
{
NSString *ownerLogin;
ownerLogin = [[self clientObject] ownerInContext: context];
return (![ownerLogin isEqualToString: @"nobody"]);
}
- (NSString *) defaultUserID
{
if (!defaultUserID)