AccessControlListTest.testDocumentAccessControlList There is shouldn't be the
ACCESS_CONTROL_LIST extension by default.
-----------------------------------------------------------------------------------------------------------------------
Key: CMIS-133
URL: https://issues.apache.org/jira/browse/CMIS-133
Project: Chemistry
Issue Type: Task
Reporter: Alexey Zavizionov
I have the test fail for the our CMIS implementation. I guess that test is
incorrect.
=== AccessControlListTest.testDocumentAccessControlList ===
document = client.getEntry(objectByIdRequest);
Assert.assertNotNull(document);
childObject = document.getExtension(CMISConstants.OBJECT);
Assert.assertNotNull(childObject);
CMISAccessControlList objectAccessControlList =
childObject.getExtension(CMISConstants.ACCESS_CONTROL_LIST);
Assert.assertNotNull(objectAccessControlList);
=====================================================
SPEC says that:
2.2.1.2.5 ACLs
Description: Used to retrieve the ACLs for the object(s) described in the
service response.
Optional Input Parameter:
•
Boolean includeACL: If TRUE, then the Repository MUST return the ACLs
for each object in
the result set. Defaults to FALSE.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.