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:
Wolfgang Sourdeau
2007-04-24 22:46:52 +00:00
parent a63577b86b
commit e9f52670f9
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -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
+3 -2
View File
@@ -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;