See ChangeLog

Monotone-Parent: fa2e7098c9457bb1b9933f49556578b5326860d2
Monotone-Revision: 5be507aec21eb7c99a5024135035b80901450a40

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-10-14T13:32:10
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2011-10-14 13:32:10 +00:00
parent 2d45ad52c4
commit ecd08fd79b
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2011-10-14 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m (setRoles:forUser:..)
We now even cache "None" roles.
2011-10-13 Francis Lachapelle <flachapelle@inverse.ca>
* Tools/SOGoToolUserPreferences.m (-run): added possibility to

View File

@@ -1637,11 +1637,13 @@ static NSArray *childRecordFields = nil;
[newRoles removeObject: SOGoRole_AuthorizedSubscriber];
[newRoles removeObject: SOGoRole_None];
objectPath = [objectPathArray componentsJoinedByString: @"/"];
[self _cacheRoles: newRoles forUser: uid
forObjectAtPath: objectPath];
if (![newRoles count])
[newRoles addObject: SOGoRole_None];
[self _cacheRoles: newRoles forUser: uid
forObjectAtPath: objectPath];
[self _commitRoles: newRoles forUID: aUID forObject: objectPath];
}