mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-30 10:47:17 +00:00
Monotone-Parent: ffee2e191d0b888d3bfb2c7d6d16836788f668d0
Monotone-Revision: 575cf41d358a8719c8b0d9a19301b8c29bbb1c30 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-29T16:14:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -604,8 +604,11 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
if ([object isKindOfClass: [SOGoObject class]])
|
||||
{
|
||||
sogoRoles = [(SOGoObject *) object aclsForUser: login];
|
||||
if (sogoRoles)
|
||||
if ([sogoRoles count])
|
||||
[rolesForObject addObjectsFromArray: sogoRoles];
|
||||
sogoRoles = [(SOGoObject *) object subscriptionRoles];
|
||||
if ([sogoRoles firstObjectCommonWithArray: rolesForObject])
|
||||
[rolesForObject addObject: SOGoRole_AuthorizedSubscriber];
|
||||
}
|
||||
|
||||
return rolesForObject;
|
||||
|
||||
Reference in New Issue
Block a user