mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 01:15:09 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user