•  
      request #16236 Changesets as anonymous when done by SystemEvent
    Infos
    #16236
    Simiand Camille (csimiand)
    2020-08-28 10:21
    2020-08-17 16:15
    17544
    Details
    Changesets as anonymous when done by SystemEvent
    When SystemEvent_SERVICE_CLEANUP_CLOSE_INACTIVE_ARTIFACTS called, changesets are done as anonymous (getCurrentUser()) instead of Tracker_Workflow_WorkflowUser because no user argument given in userCanUpdate() so it's considered null by default.

    Changes:
    * Tracker_Artifact_Changeset_NewChangesetCreator::saveNewChangesetForField add user to $field->userCanUpdate($submitter)

    * Method interface signature Workflow_Transition_Condition::validate and retrieve current_user as fourth argument and delete his instanciation inside of Workflow_Transition_Condition_Permissions::validate.
    Trackers
    11.17
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Simiand Camille (csimiand)
    Closed
    2020-08-24
    Attachments
    Empty
    References

    Follow-ups