Cedric Moitrier created CMIS-600:
------------------------------------
Summary: ACLSmokeTest fails if repository's AclCapability is CapabilityAcl.MANAGE
and AclPropagation is not OBJECTONLY
Key: CMIS-600
URL: https://issues.apache.org/jira/browse/CMIS-600
Project: Chemistry
Issue Type: Bug
Components: opencmis-tck
Affects Versions: OpenCMIS 0.8.0
Reporter: Cedric Moitrier
Priority: Minor
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|