[
https://jira.nuxeo.com/browse/NXP-4333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anahide Tchertchian updated NXP-4333:
-------------------------------------
Fix Version/s: 5.4.3
Still reproduced on 5.4.2:
Caused by: javax.faces.el.EvaluationException:
org.nuxeo.ecm.platform.publisher.api.PublishingException: Privilege
'ReadVersion' is not granted to 'sectionManager'
at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 71 more
Caused by: org.nuxeo.ecm.platform.publisher.api.PublishingException: Privilege
'ReadVersion' is not granted to 'sectionManager'
at
org.nuxeo.ecm.platform.publisher.jbpm.CoreProxyWithWorkflowFactory.validatorPublishDocument(CoreProxyWithWorkflowFactory.java:227)
at
org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree.validatorPublishDocument(AbstractBasePublicationTree.java:175)
at
org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.validatorPublishDocument(PublisherServiceImpl.java:521)
at
org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree.validatorPublishDocument(AbstractRemotableTree.java:137)
at
org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.approveDocument(PublishActionsBean.java:424)
[...]
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
org.nuxeo.ecm.core.api.DocumentSecurityException. message: Privilege
'ReadVersion' is not granted to 'sectionManager'
at
org.nuxeo.ecm.core.api.AbstractSession.checkPermission(AbstractSession.java:320)
at
org.nuxeo.ecm.core.api.AbstractSession.getSourceDocument(AbstractSession.java:1984)
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)
at
org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:94)
at $Proxy25.getSourceDocument(Unknown Source)
at
org.nuxeo.ecm.platform.publisher.jbpm.CoreProxyWithWorkflowFactory.validatorPublishDocument(CoreProxyWithWorkflowFactory.java:211)
> error on document read in section publication (permission not allowed)
> -----------------------------------------------------------------------
>
> Key: NXP-4333
> URL: https://jira.nuxeo.com/browse/NXP-4333
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Security / Rights
> Affects Versions: 5.3 GA
> Environment: windows server 2008 32 bits
> Reporter: Olivier Fouache
> Assignee: Thierry Delprat
> Priority: Critical
> Fix For: 5.4.3
>
>
> same as NXP-1956.
> -have 2 users, first user has access in a workspace, the second one is a
> Section manager but has no access at all in the first user workspace.
> -the first user will create a doc in his workspace and submit it in a Section
> -the second user will go on the submitted publication in order to approve it
> =>when clicking on approve there is an error (READ right is not granted to
> the current user)
> I can resolve this error by allowing the read right to the second user on
> workspace but it's not the good way !
> So, the error is that nuxeo search the read right of the source and not the
> read right of the publication version of the document.
--
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