From 68d1f27913dcec44ee10499c55b62f70bed0bd72 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 4 Jun 2009 00:51:47 +0000 Subject: [PATCH] Monotone-Parent: f8795baa052d7d5b6da4d6c947c91e65a2da600a Monotone-Revision: f2cb9755878e29bfc6e50ad7b8c831feae551b34 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-04T00:51:47 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 085a17141..4a557a3c6 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -2386,7 +2386,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir [super initializeQuickTablesAclsInContext: localContext]; /* We assume "userIsOwner" will be set after calling the super method. */ - if (!activeUserIsOwner) + if (!userCanAccessAllObjects) { login = [[localContext activeUser] login]; permStrIndex = [@"Component" length]; @@ -2394,7 +2394,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir for (currentClass = 0; currentClass < iCalAccessClassCount; currentClass++) { - if (activeUserIsOwner) + if (userCanAccessAllObjects) userCanAccessObjectsClassifiedAs[currentClass] = YES; else {