Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-133

AccessControlListTest.testDocumentAccessControlList There is shouldn't be the ACCESS_CONTROL_LIST extension by default.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • tck
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            exoman Alexey Zavizionov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: