mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-09 08:53:20 +00:00
See ChangeLog
Monotone-Parent: a21045504db4729f0a32f67e4bba1f563ea16625 Monotone-Revision: e1912bf4962632854ed7898edea3ca2ba3a70406 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-24T15:24:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1431,8 +1431,15 @@ static NSArray *childRecordFields = nil;
|
||||
currentUID = [record valueForKey: @"c_uid"];
|
||||
if ([currentUID hasPrefix: @"@"])
|
||||
{
|
||||
group = [SOGoGroup groupWithIdentifier: currentUID
|
||||
inDomain: domain];
|
||||
group = [[SOGoCache sharedCache] groupNamed: currentUID inDomain: domain];
|
||||
|
||||
if (!group)
|
||||
{
|
||||
group = [SOGoGroup groupWithIdentifier: currentUID
|
||||
inDomain: domain];
|
||||
[[SOGoCache sharedCache] registerGroup: group withName: currentUID inDomain: domain];
|
||||
}
|
||||
|
||||
if (group && [group hasMemberWithUID: uid])
|
||||
[acls addObject: [record valueForKey: @"c_role"]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user