[ 
https://jira.nuxeo.com/browse/CMIS-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume updated CMIS-31:
----------------------------------

    Fix Version/s: nuxeo-5.4.2

> Error accessing a document whose parent is not accessible
> ---------------------------------------------------------
>
>                 Key: CMIS-31
>                 URL: https://jira.nuxeo.com/browse/CMIS-31
>             Project: Nuxeo Chemistry
>          Issue Type: Bug
>            Reporter: Stéphane Lacoin
>            Assignee: Florent Guillaume
>            Priority: Detail
>             Fix For: nuxeo-5.4.2
>
>
> When someone access to a document using a path ref, an error is logged if the 
> user has no read permissions to it's parent.
> This applies for instance for children of the UserWorkspaces (user's personal 
> Workspace).
> 10:42:59,614 ERROR [NuxeoCmisService] 
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 
> org.nuxeo.ecm.core.api.DocumentSecurityException: Privilege READ is not 
> granted to Administrator
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 
> org.nuxeo.ecm.core.api.DocumentSecurityException: Privilege READ is not 
> granted to Administrator
>       at 
> org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.getObjectParentsInternal(NuxeoCmisService.java:1468)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.getObjectParents(NuxeoCmisService.java:1436)
>       at 
> org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService.getObjectInfoIntern(AbstractCmisService.java:1019)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.getObjectInfo(NuxeoCmisService.java:859)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.collectObjectInfo(NuxeoCmisService.java:889)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.getObjectByPath(NuxeoCmisService.java:776)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.client.NuxeoSession.getObjectByPath(NuxeoSession.java:303)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.client.NuxeoSession.getObjectByPath(NuxeoSession.java:292)
>       at 
> org.nuxeo.ecm.core.opencmis.impl.NuxeoSessionTestCase.testUserWorkspace(NuxeoSessionTestCase.java:641)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to