mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
Monotone-Parent: 0e9d9502166e884d7b3afd467ac697d197c45c44
Monotone-Revision: d3ba36ba8bfc76739a9e1820c3fe106f3e68d71a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-24T22:46:52 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2007-04-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Common/UIxAclEditor.m ([UIxAclEditor -_prepareUsers]): we
|
||||
check if the uid is already listed before adding it to our array.
|
||||
This is because the acl table can contain more than one record per
|
||||
user/object relationship.
|
||||
|
||||
* SoObjects/SOGo/SOGoFolder.m ([SOGoFolder
|
||||
-setRoles:rolesforUser:uidforObjectAtPath:objectPathArray]): the
|
||||
"roles" parameter is now an NSArray instead of a string. Therefore
|
||||
|
||||
@@ -98,8 +98,9 @@
|
||||
while (currentAcl)
|
||||
{
|
||||
currentUID = [currentAcl objectForKey: @"c_uid"];
|
||||
if (![currentUID isEqualToString: ownerLogin])
|
||||
[users addObject: currentUID];
|
||||
if (!([currentUID isEqualToString: ownerLogin]
|
||||
|| [users containsObject: currentUID]))
|
||||
[users addObject: currentUID];
|
||||
currentAcl = [aclsEnum nextObject];
|
||||
|
||||
prepared = YES;
|
||||
|
||||
Reference in New Issue
Block a user