cancel
Showing results for 
Search instead for 
Did you mean: 

setAcl of Chemistry's CmisObject results on CmisNotSupportedException

November_India_
Champ in-the-making
Champ in-the-making

I don't have a full stack trace but here's the entire message:

org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: Operation not supported by the repository for this object!

Specifically this call:

// Add the ACL to the CMIS Object
    cmisObject.addAcl(
            Collections.singletonList(ace),
            AclPropagation.REPOSITORYDETERMINED);

This does not happen with Chemistry In-Memory.

How could I could resolve this? I am using Chemistry 0.11.0 and Nuxeo 5.9.5. I know I can use NuxeoObject, but I'd rather use CmisObject for cross-testing purpose with Chemistry In-Memory.

1 ACCEPTED ANSWER

rg1_
Star Contributor
Star Contributor

The Nuxeo 5.9.5 repositoryInfo available here reports "capabilityACL": "none". A repository would need to report "capabilityACL": "manage" in order to support your call above. Currently, you would need to use Nuxeo REST APIs to programmatically manage ACLs.

View answer in original post

1 REPLY 1

rg1_
Star Contributor
Star Contributor

The Nuxeo 5.9.5 repositoryInfo available here reports "capabilityACL": "none". A repository would need to report "capabilityACL": "manage" in order to support your call above. Currently, you would need to use Nuxeo REST APIs to programmatically manage ACLs.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.