AnsweredAssumed Answered

CMIS and Records Management

Question asked by sammasue on Sep 22, 2014
Latest reply on Oct 17, 2014 by sammasue
Hello,

I tried CMIS with Records Management however I get a very frequent error when I select records

org.apache.chemistry.opencmis.commons.exceptions.CmisPermissionDeniedException: Permission denied: 08220365 Access Denied


I identified a possible cause :


CMISResultSet rs = getOpenCMISQueryService().query(options);

This piece of code executes the query but does not check the RM permissions

However this other piece of code which is executed after throws the exception (due to permissions):

for (CMISResultSetRow row : rs){
//some code …
Map<String, Serializable> values = row.getValues();


In my opinion it is a bit strange that if I don't have permissions on a record then it shouldn't be in the resultSet.

Does someone have a idea ?

Thanks

Sam




Outcomes