From 57fad470fbcf6123c85baacfc2f0f88a36492a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20J=2E=20Hern=C3=A1ndez=20Blasco?= Date: Thu, 7 Jan 2016 01:47:29 +0100 Subject: [PATCH] oc-calendar: Detail limitations on setting permissions As MAPI permission flags are much more detailed that SOGo ones. --- OpenChange/MAPIStoreCalendarFolder.m | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/OpenChange/MAPIStoreCalendarFolder.m b/OpenChange/MAPIStoreCalendarFolder.m index f7b84d51e..5079c65cc 100644 --- a/OpenChange/MAPIStoreCalendarFolder.m +++ b/OpenChange/MAPIStoreCalendarFolder.m @@ -77,6 +77,17 @@ - (NSArray *) rolesForExchangeRights: (uint32_t) rights { + /* Limitations + + Following rights are not supported by SOGo specifically: + + - DeleteOwned : Delete only own objects + - EditOwned : Edit only own objects + - CreateSubfolders: No calendar subfolders + - FolderOwner: No sharing folder ownership? + - FolderContact: No support to store this information + - FolderVisible: It is inferred by other rights when extracting + */ NSMutableArray *roles; roles = [NSMutableArray arrayWithCapacity: 6];