From 848b2ee8271b88d5c4fb1eaf78baecc8dff65008 Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 30 Jun 2004 09:17:16 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@102 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/Main/product.plist | 21 ++++++++++++++++- SOGo/SoObjects/SOGo/README | 8 +++++++ SOGo/SoObjects/SOGo/SOGoObject.h | 2 ++ SOGo/SoObjects/SOGo/SOGoUserFolder.h | 34 ++++++++++++++++++++++++++++ SOGo/SoObjects/SOGo/SOGoUserFolder.m | 32 ++++++++++++++++++++++++++ 5 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 SOGo/SoObjects/SOGo/README create mode 100644 SOGo/SoObjects/SOGo/SOGoUserFolder.h create mode 100644 SOGo/SoObjects/SOGo/SOGoUserFolder.m diff --git a/SOGo/Main/product.plist b/SOGo/Main/product.plist index cbec188c..0f27d86e 100644 --- a/SOGo/Main/product.plist +++ b/SOGo/Main/product.plist @@ -8,7 +8,7 @@ protectedBy = "View"; defaultAccess = "allow"; defaultRoles = { - "View" = "Anonymous"; + "View" = "Authenticated"; "WebDAV Access" = "Authenticated"; }; methods = { @@ -27,5 +27,24 @@ }; }; }; + + SOGoObject = { + protectedBy = "View"; + defaultAccess = "allow"; + defaultRoles = { + "View" = "Authenticated"; + "WebDAV Access" = "Authenticated"; + }; + }; + SOGoContentObject = { + superclass = "SOGoObject"; + }; + SOGoFolder = { + superclass = "SOGoObject"; + }; + + SOGoUserFolder = { + superclass = "SOGoFolder"; + }; }; } diff --git a/SOGo/SoObjects/SOGo/README b/SOGo/SoObjects/SOGo/README new file mode 100644 index 00000000..4ee0d4ec --- /dev/null +++ b/SOGo/SoObjects/SOGo/README @@ -0,0 +1,8 @@ +# $Id$ + +libSOGo +======= + +Common SOGo objects. + +Note that the SOPE objects are registered by the Main bundle products.plist. diff --git a/SOGo/SoObjects/SOGo/SOGoObject.h b/SOGo/SoObjects/SOGo/SOGoObject.h index 26abe6cd..889fd5e2 100644 --- a/SOGo/SoObjects/SOGo/SOGoObject.h +++ b/SOGo/SoObjects/SOGo/SOGoObject.h @@ -25,6 +25,8 @@ #import +@class OCSFolderManager, OCSFolder; + @interface SOGoObject : NSObject { NSString *nameInContainer; diff --git a/SOGo/SoObjects/SOGo/SOGoUserFolder.h b/SOGo/SoObjects/SOGo/SOGoUserFolder.h new file mode 100644 index 00000000..d2f91ca3 --- /dev/null +++ b/SOGo/SoObjects/SOGo/SOGoUserFolder.h @@ -0,0 +1,34 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#ifndef __SOGo_SOGoUserFolder_H__ +#define __SOGo_SOGoUserFolder_H__ + +#include + +@interface SOGoUserFolder : SOGoFolder +{ +} + +@end + +#endif /* __SOGo_SOGoUserFolder_H__ */ diff --git a/SOGo/SoObjects/SOGo/SOGoUserFolder.m b/SOGo/SoObjects/SOGo/SOGoUserFolder.m new file mode 100644 index 00000000..fb9b456d --- /dev/null +++ b/SOGo/SoObjects/SOGo/SOGoUserFolder.m @@ -0,0 +1,32 @@ +/* + Copyright (C) 2004 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + +#include "SOGoUserFolder.h" +#include "common.h" + +@implementation SOGoUserFolder + +- (void)dealloc { + [super dealloc]; +} + +@end /* SOGoUserFolder */ -- 2.39.5