On a workflow node we have the ability to grant temporary permission to a document to an assignee. As the task ends, the permission is revoked. Recently after ending the task, a notification is posted. This fails if the assignee no longer has permission on the document, and the task cannot be completed as a result.
EndTask method where completeTask is called followed by notifyTaskEnded: https://github.com/nuxeo/nuxeo-platform-document-routing/blob/master/nuxeo-routing-core/src/main/java/org/nuxeo/ecm/platform/routing/core/impl/DocumentRoutingServiceImpl.java#L841
Class where notifyTaskEnded is implemented: https://github.com/nuxeo/nuxeo/blob/master/nuxeo-features/nuxeo-platform-task/nuxeo-platform-task-core/src/main/java/org/nuxeo/ecm/platform/task/core/service/TaskEventNotificationHelper.java
- depends on
-
NXP-19493 Fix NavigationContextBean.goHome()
- Resolved