mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 06:33:18 +00:00
Monotone-Parent: 27c9258114601f08525990a7068b3d1fb02b6c43
Monotone-Revision: 232c78312a70377451f4694882d72614fcfd13d5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-03-27T18:19:33 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2007-03-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactFolders.m ([SOGoContactFolders
|
||||
-roleOfUser:uidinContext:context]): take all the subkeys into
|
||||
account, not only the "personal" folder.
|
||||
|
||||
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
|
||||
-takeValuesFromRequest:_rqinContext:_ctx]): append a "uid" field
|
||||
to the new components.
|
||||
|
||||
@@ -239,17 +239,14 @@
|
||||
if ([traversalPath count] > 2)
|
||||
{
|
||||
objectName = [traversalPath objectAtIndex: 2];
|
||||
if ([objectName isEqualToString: @"personal"])
|
||||
{
|
||||
roles = [[context activeUser]
|
||||
rolesForObject: [self lookupName: objectName
|
||||
inContext: context
|
||||
acquire: NO]
|
||||
inContext: context];
|
||||
if ([roles containsObject: SOGoRole_Assistant]
|
||||
|| [roles containsObject: SOGoRole_Delegate])
|
||||
role = SOGoRole_Assistant;
|
||||
}
|
||||
roles = [[context activeUser]
|
||||
rolesForObject: [self lookupName: objectName
|
||||
inContext: context
|
||||
acquire: NO]
|
||||
inContext: context];
|
||||
if ([roles containsObject: SOGoRole_Assistant]
|
||||
|| [roles containsObject: SOGoRole_Delegate])
|
||||
role = SOGoRole_Assistant;
|
||||
}
|
||||
|
||||
return role;
|
||||
|
||||
Reference in New Issue
Block a user