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

ACLSmokeTest fails if repository's AclCapability is CapabilityAcl.MANAGE and AclPropagation is not OBJECTONLY

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • OpenCMIS 0.8.0
    • OpenCMIS 0.9.0 beta 1
    • opencmis-tck
    • 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

      Attachments

        Activity

          People

            fmui Florian Müller
            cmoitrier Cedric Moitrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: