Use current user to filter validation tasks in publication workflow.
--------------------------------------------------------------------
Key: NXP-8126
URL: https://jira.nuxeo.com/browse/NXP-8126
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Publishing
Affects Versions: 5.5-SNAPSHOT
Reporter: Antoine Taillefer
Assignee: Antoine Taillefer
Priority: Major
Fix For: 5.5
We need to use the current user to filter the validaton tasks in publication
workflow.
NXP-8094 is a side effect of this bug.
Indeed, if a user submits a doc to publication, as the validation tasks are not
filtered with the current user, the CoreProxyWithWorkflowFactory considers that
this user has validation tasks (since a task actually exists, but assigned to
Administrator), so the "Publish/Reject" buttons are displayed in the summary
tab of the proxy.
See {{<h:panelGroup rendered="#\{publishActions.hasValidationTask()\}">}} in
{{publication_widget_template.xhtml}}.
--
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