error reported while accessing to a document using nuxeo CMIS
-------------------------------------------------------------
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
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.
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.com/secure/Administrators.jspa
-
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