Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-451

Only allow an administrator and the workflow initiator to abandon a workflow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: iOS 1.15, Android 1.12
    • Component/s: None

      Description

      Currently, a task assignee also can abandon a workflow.

      For instance, if joe starts a workflow and assigns the first task to jack, joe and jack can abandon the workflow.
      Only joe (the initiator) and an administrator should be able to.

      Note that we have the same behavior in Web UI because we are simply relying on the runningWorkflows enricher (at least one => can abandon).
      In this case, jack, as an assignee, has a runningWorkflow on fetching the document.

      In JSF, we are relying on an action filter: isAdministrator || isInitiator.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 hours
                  2h