module_oxcperm.c File Reference

Permissions Protocol test suite. More...

Functions

bool mapitest_oxcperm_GetPermissionsTable (struct mapitest *mt)
 
bool mapitest_oxcperm_ModifyPermissions (struct mapitest *mt)
 

Detailed Description

Permissions Protocol test suite.

Function Documentation

bool mapitest_oxcperm_GetPermissionsTable ( struct mapitest mt)

Test the GetPermissionsTable (0x3e) operation

This function:

  1. Log on private message store
  2. Open the top store folder
  3. Gets the permissions table handle
  4. Fetches properties from the permissions table

References mapitest_print_retval(), mapitest::mem_ctx, and mapitest::session.

Referenced by module_oxcperm_init().

bool mapitest_oxcperm_ModifyPermissions ( struct mapitest mt)

Test the ModifyPermissions (0x40) operation

This function:

  1. Log on private message store
  2. Open the top store folder
  3. Creates a temporary folder
  4. Adds permissions for the admin user, and checks them
  5. Modifies permissions for the admin user, and checks them
  6. Removes permissions for the admin user, and checks them
  7. Deletes the folder

References mapitest_print_retval(), mapitest::mem_ctx, and mapitest::session.

Referenced by module_oxcperm_init().


Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/