From b056f482178f25195a548966b0fa326c525db222 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 15 Oct 2007 19:14:46 +0000 Subject: [PATCH] Monotone-Parent: ec9c129ca2ad9336942f829750ea17901e60315b Monotone-Revision: 154ffe7123c2830874b75a9f8a69c3556f23c29b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-15T19:14:46 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoFolder.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4480cca42..b4b1e229b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-15 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoFolder.m ([SOGoFolder -ocsFolder]): create + the folder even if the current user is not its owner. + 2007-10-10 Ludovic Marcotte * We now send advisory emails when folders diff --git a/SoObjects/SOGo/SOGoFolder.m b/SoObjects/SOGo/SOGoFolder.m index 671f76434..286974476 100644 --- a/SoObjects/SOGo/SOGoFolder.m +++ b/SoObjects/SOGo/SOGoFolder.m @@ -237,7 +237,7 @@ static NSString *defaultUserID = @""; ocsFolder = [self ocsFolderForPath: [self ocsPath]]; userLogin = [[context activeUser] login]; if (!ocsFolder - && [userLogin isEqualToString: [self ownerInContext: context]] +/* && [userLogin isEqualToString: [self ownerInContext: context]] */ && [self folderIsMandatory] && [self create]) ocsFolder = [self ocsFolderForPath: [self ocsPath]];