mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-16 04:13:17 +00:00
Monotone-Parent: 3e7ac334a4ea19aa4ec2dcbc525628005ca75fb7
Monotone-Revision: edd72b1e960245b7bca420619b28446ba3ce513b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-09T17:35:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -974,7 +974,7 @@ _timeValue (NSString *key)
|
||||
if (sogoRoles)
|
||||
[rolesForObject addObjectsFromArray: sogoRoles];
|
||||
|
||||
if ((superUsernames && [superUsernames containsObject: login])
|
||||
if ([self isSuperUser]
|
||||
|| [[object ownerInContext: context] isEqualToString: login])
|
||||
[rolesForObject addObject: SoRole_Owner];
|
||||
else if ([object isKindOfClass: [SOGoObject class]])
|
||||
|
||||
Reference in New Issue
Block a user