133966 amorarasu: ACE-5718: Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0)
133954 amorarasu: REPO-1681 / MNT-17228: CMIS: Attempt to delete non-current version throws "Unexpected: current version does not appear ..."
- Fixed the misuse of the version node instead of live node
- Added permission check for deleting a version
- Uncommented the test added by JanV (REPO-1228) + added testcase for deleting with no permission
- PublicApiCallContextHandler inherits basic auth parameters from BasicAuthCallContextHandler, to ensure proper exceptions are thrown by CMIS servlets (in this case, CmisPermissionDeniedException instead of CmisUnauthorizedException).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261