From 334ff94fb9fbc2fc21c4849c1455978fa0447a54 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 9 Jan 2012 16:42:20 +0000 Subject: [PATCH] Monotone-Parent: d5752735c793358a8300960f867a0452965215ca Monotone-Revision: cec86bee0b5e2a1fc741887d9b9e535436381c6e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-09T16:42:20 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ OpenChange/MAPIStoreCalendarFolder.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 65907e7c1..9a921fde6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-09 Wolfgang Sourdeau + + * OpenChange/MAPIStoreCalendarFolder.m (-exchangeRightsForRoles): + add the freebusy read rights when the user has read permission on + calendar objects. + 2012-01-05 Francis Lachapelle * SoObjects/SOGo/SOGoUserManager.m (-_registerSource:inDomain::): diff --git a/OpenChange/MAPIStoreCalendarFolder.m b/OpenChange/MAPIStoreCalendarFolder.m index 747bfbef5..b7cdd5466 100644 --- a/OpenChange/MAPIStoreCalendarFolder.m +++ b/OpenChange/MAPIStoreCalendarFolder.m @@ -153,7 +153,7 @@ else if ([roles containsObject: SOGoCalendarRole_PublicViewer] && [roles containsObject: SOGoCalendarRole_PrivateViewer] && [roles containsObject: SOGoCalendarRole_ConfidentialViewer]) - rights |= RightsReadItems; + rights |= RightsReadItems | 0x1800; if (rights != 0) rights |= RoleNone; /* actually "folder visible" */