[
https://issues.apache.org/jira/browse/CMIS-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515948#comment-16515948
]
Marie-Luise Kuhlmann commented on CMIS-1063:
--------------------------------------------
* folderTypeDefinition.setIsControllableAcl(true),
* CAN_GET_ACL and CAN_APPLY_ACL are set,
* AclCapabilitiesData are set,
* OperationContext with includeAcl(true).
Apply an ACL via Chemistry workbench is possible.
createFolder and applyAcl in two steps is possible:
newFolder = parent.createFolder(properties, null, null, null, opctx);
session.applyAcl(newFolder, aces, null, null);
But createFolder with ACLs in one step ends with ‚operation is not supported‘:
parent.createFolder(properties, null, aces, null, opctx);
> ACL are not set with createFolder (ATOMPUB only)
> ------------------------------------------------
>
> Key: CMIS-1063
> URL: https://issues.apache.org/jira/browse/CMIS-1063
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client-bindings
> Affects Versions: OpenCMIS 1.1.0
> Reporter: Marie-Luise Kuhlmann
> Priority: Major
>
> Trying to set ACL via createFolder (only with ATOMPUB) ends up in an exception
>
> org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException:
> Operation not supported by the repository for this object!
> at
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.throwLinkException(AbstractAtomPubService.java:294)
> at
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getAclInternal(AbstractAtomPubService.java:1015)
> at
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.handleAclModifications(ObjectServiceImpl.java:800)
> at
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createFolder(ObjectServiceImpl.java:175)
>
> Suggestion: a problem in
> org.apache.chemistry.opencmis.client.bindings.spi.atompub.*AbstractAtomPubService.*
> In loadLink is a call to getObjectInternal without getting the acl. If rel
> *=*
> [http://docs.oasis-open.org/ns/cmis/link/200908/acl.|https://deref-gmx.net/mail/client/CJZHSWt8PE0/dereferrer/?redirectUrl=http%3A%2F%2Fdocs.oasis-open.org%2Fns%2Fcmis%2Flink%2F200908%2Facl]
> This parameter can be set to true, getting acl.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)