From e00cd55d0cc42bca42cd9005dc9fe454fe745209 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 8 Feb 2007 16:27:26 +0000 Subject: [PATCH] Monotone-Parent: 7405c75e35bf1ceda3ee53a96c803205631f7d60 Monotone-Revision: 5bb48557e566a615a3a14f904888679e965334fa Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-08T16:27:26 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 18 +++++++++--------- SoObjects/Appointments/product.plist | 1 + 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 9cbda1823..a85e2900a 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -70,15 +70,15 @@ static NSNumber *sharedYes = nil; lm = [NGLoggerManager defaultLoggerManager]; logger = [lm loggerForDefaultKey:@"SOGoAppointmentFolderDebugEnabled"]; - securityInfo = [self soClassSecurityInfo]; - [securityInfo declareRole: SOGoRole_Delegate - asDefaultForPermission: SoPerm_AddDocumentsImagesAndFiles]; - [securityInfo declareRole: SOGoRole_Delegate - asDefaultForPermission: SoPerm_ChangeImagesAndFiles]; - [securityInfo declareRoles: [NSArray arrayWithObjects: - SOGoRole_Delegate, - SOGoRole_Assistant, nil] - asDefaultForPermission: SoPerm_View]; +// securityInfo = [self soClassSecurityInfo]; +// [securityInfo declareRole: SOGoRole_Delegate +// asDefaultForPermission: SoPerm_AddDocumentsImagesAndFiles]; +// [securityInfo declareRole: SOGoRole_Delegate +// asDefaultForPermission: SoPerm_ChangeImagesAndFiles]; +// [securityInfo declareRoles: [NSArray arrayWithObjects: +// SOGoRole_Delegate, +// SOGoRole_Assistant, nil] +// asDefaultForPermission: SoPerm_View]; sharedYes = [[NSNumber numberWithBool:YES] retain]; } diff --git a/SoObjects/Appointments/product.plist b/SoObjects/Appointments/product.plist index 8e22aec1a..e9856d904 100644 --- a/SoObjects/Appointments/product.plist +++ b/SoObjects/Appointments/product.plist @@ -11,6 +11,7 @@ SOGoAppointmentFolder = { superclass = "SOGoFolder"; defaultRoles = { + "View" = ( "Owner", "Delegate", "Assistant" ); "FreeBusyLookup" = ( "Owner", "Delegate", "Assistant", "FreeBusy" ); }; };