Monotone-Parent: 285b0bf17b6ea471398e5206f488b3358f436b62

Monotone-Revision: ad0652e110056f0a30b9fa6a1efffe2bd0de832a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-17T13:32:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-06-17 13:32:31 +00:00
parent 94f0101a28
commit 0e0a8468e6
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,5 +1,8 @@
2009-06-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoUser.m (-rolesForObject:inContext:): do not
query the acls for the object if the current user is its owner.
* SoObjects/SOGo/SOGoParentFolder.m (-initSubFoldersMatching:):
renamed from "initSubFolders". Take a string argument that, if
specified, will stop the search of folders when the name can be
+1 -1
View File
@@ -972,7 +972,7 @@ _timeValue (NSString *key)
if ((superUsernames && [superUsernames containsObject: login])
|| [[object ownerInContext: context] isEqualToString: login])
[rolesForObject addObject: SoRole_Owner];
if ([object isKindOfClass: [SOGoObject class]])
else if ([object isKindOfClass: [SOGoObject class]])
{
sogoRoles = [(SOGoObject *) object aclsForUser: login];
if ([sogoRoles count])