From 68008ddf8fe4e19c2487d90183a8e4830383eb2b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 16 Oct 2007 22:30:02 +0000 Subject: [PATCH] Monotone-Parent: b71e0e986f6831af4e2277975bc3b9740f40ca95 Monotone-Revision: 5c9300366a0bd3366cad156340ce2158a534554b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-16T22:30:02 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/Mailer/SOGoMailFolder.m | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9bc18387..92c4b21c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-10-16 Wolfgang Sourdeau + * SoObjects/Mailer/SOGoMailFolder.m ([SOGoMailFolder + -initWithName:newNameinContainer:newContainer]): the owner of a + shared folder is set to "nobody" by default. + * UI/Common/UIxAclEditor.m ([UIxAclEditor -hasOwner]): new method that returns whether the object has an owner or not. diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index b73b62a52..892a663c1 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -63,7 +63,7 @@ static BOOL useAltNamespace = NO; folder = [mailAccount sharedFolderName]; if (folder && [path hasPrefix: folder]) - [self setOwner: @"anyone"]; + [self setOwner: @"nobody"]; else { folder = [mailAccount otherUsersFolderName]; @@ -73,7 +73,7 @@ static BOOL useAltNamespace = NO; if ([names count] > 1) [self setOwner: [names objectAtIndex: 1]]; else - [self setOwner: @"anyone"]; + [self setOwner: @"nobody"]; } } }