PidTagAccessLevel should not be set on folder objects

maint-2.0.2
Wolfgang Sourdeau 2012-09-26 09:26:38 -04:00
parent 01287d1aeb
commit 2760e35f15
1 changed files with 0 additions and 24 deletions

View File

@ -1313,30 +1313,6 @@ Class NSExceptionK, MAPIStoreFAIMessageK, MAPIStoreMessageTableK, MAPIStoreFAIMe
return MAPISTORE_SUCCESS;
}
/*
Possible values are:
0x00000000 Read-Only
0x00000001 Modify
*/
- (int) getPidTagAccessLevel: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
SOGoUser *ownerUser;
BOOL userIsOwner;
/* FIXME: from oxcprpt: "This property does not apply to Folder objects and
Logon objects", so we should not expose this here. */
ownerUser = [[self userContext] sogoUser];
userIsOwner = [[context activeUser] isEqual: ownerUser];
*data = MAPILongValue (memCtx, (userIsOwner) ? 0x01 : 0x00);
return MAPISTORE_SUCCESS;
}
- (int) getPidTagRights: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{