Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19236

Workflow action fails if user does not have Read permission on document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 7.10-HF09, 8.3
    • Component/s: Workflow
    • Tags:
    • Backlog priority:
      600
    • Sprint:
      nxGang Sprint 8.2.4, nxGang Sprint 8.3.1
    • Story Points:
      2

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h