mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user