Monotone-Parent: d102adf292e54c9c4f3572b83e38879d24b721d0

Monotone-Revision: 1d22ee7adc99b9420d9a7b859dfb1048c8c92eaa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-11-18T15:26:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-11-18 15:26:03 +00:00
parent 5eccd63a2b
commit 4e17404e8c
13 changed files with 786 additions and 32 deletions
+35
View File
@@ -1,5 +1,40 @@
2011-11-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFolder.m (-permissionEntries): new public
method.
(-modifyPermissions:withCount:andFlags:): new backend op public
method.
(-aclFolder, -rolesForExchangeRights:, -exchangeRightsForRoles:):
new mandatory methods.
* OpenChange/SOGoMAPIFSFolder.m (-defaultUserID, -addUserInAcls:)
(-removeAclsForUsers:, -aclUsers, -aclsForUser:)
(-setRoles:forUser:): implemented standard ACL methods.
* OpenChange/MAPIStorePermissionsTable.m
(+[MAPIStorePermissionEntry
entryWithUserId:andMemberId:forFolder:]): constructor now takes a
memberId and the container folder as parameters.
(-[MAPIStorePermissionEntry getPrMemberId:inMemCtx:]): now based
on the new memberId ivar.
(-[MAPIStorePermissionEntry getPrEntryId:inMemCtx:]): now make use
of MAPIStoreInternalEntryId for regular member ids and return an
empty blob for special ones, as specified in oxcperm.
(-[MAPIStorePermissionEntry getPrMemberName:inMemCtx:]): now
returns the real CN of the user for regular member ids and return
@"" or @"Anonymous" for special ones, as specified in oxcperm.
(-[MAPIStorePermissionEntry getPrMemberName:inMemCtx:]): now
returns the real member rights, based on the aclFolder of the
container, using standard SOGo methods.
* OpenChange/MAPIStorePermissionsTable.h
(MAPIStorePermissionsEntry): made class public.
* OpenChange/MAPIStoreSOGo.m (sogo_folder_modify_permissions): new
backend op.
(sogo_backend_init): invoke "disableLocalCache" to avoid the
caching of ACL.
* SoObjects/SOGo/SOGoCache.m (-disableLocalCache): new method to
disable the local cache altogether (helper for non-WO access).