Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
OpenCMIS 0.8.0
-
None
Description
The test executes Session.setAcl(...) which does call AclService.applyAcl(...) with aclPropagation set to OBJECTONLY.
CMIS specification indicates that AclService.applyAcl(...) must throw a constraint exception if given aclPropagation does not match the value returned via getACLCapabilities (2.2.10.2.3).
Thus the test should check the supported ACLPropagation before calling setAcl(...) and if ACLProgation is not OBJECTONLY then either:
- not call setAcl(...)
- call setAcl(...) but expected a CmisConstraintException to be thrown