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" ); }; };