From 61baa6118d6671672672d34b82357e3f9af6fb38 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 9 Jan 2012 16:41:22 +0000 Subject: [PATCH] Monotone-Parent: 31373520d86c320c1658f22e3bde2eee178c2003 Monotone-Revision: d5752735c793358a8300960f867a0452965215ca Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-09T16:41:22 Monotone-Branch: ca.inverse.sogo --- OpenChange/MAPIStoreCalendarFolder.m | 5 +++++ OpenChange/MAPIStoreMailFolder.m | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/OpenChange/MAPIStoreCalendarFolder.m b/OpenChange/MAPIStoreCalendarFolder.m index 8ed3f19ed..747bfbef5 100644 --- a/OpenChange/MAPIStoreCalendarFolder.m +++ b/OpenChange/MAPIStoreCalendarFolder.m @@ -24,6 +24,7 @@ #import #import #import +#import #import #import #import @@ -132,6 +133,8 @@ [roles addObject: SOGoCalendarRole_ConfidentialViewer]; } + // [self logWithFormat: @"roles for rights %.8x = (%@)", rights, roles]; + return roles; } @@ -153,6 +156,8 @@ rights |= RightsReadItems; if (rights != 0) rights |= RoleNone; /* actually "folder visible" */ + + // [self logWithFormat: @"rights for roles (%@) = %.8x", roles, rights]; return rights; } diff --git a/OpenChange/MAPIStoreMailFolder.m b/OpenChange/MAPIStoreMailFolder.m index 3647b0766..393788914 100644 --- a/OpenChange/MAPIStoreMailFolder.m +++ b/OpenChange/MAPIStoreMailFolder.m @@ -1025,6 +1025,8 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP) if (rights & RightsCreateSubfolders) [roles addObject: SOGoRole_FolderCreator]; + // [self logWithFormat: @"roles for rights %.8x = (%@)", rights, roles]; + return roles; } @@ -1051,6 +1053,8 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP) if (rights != 0) rights |= RoleNone; /* actually "folder visible" */ + + // [self logWithFormat: @"rights for roles (%@) = %.8x", roles, rights]; return rights; }