Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4862

TaskService.getTasksAssignedAsBusinessAdministrator() doesn't respect Groups of a User

    XMLWordPrintable

Details

    Description

      When we configure a Group (e.g. "Crusaders") as businessAdministrators of a Task, we can get the Task with TaskService.getTasksAssignedAsBusinessAdministrator("Crusaders", "en-UK"). That's okay. But we cannot get the Task with TaskService.getTasksAssignedAsBusinessAdministrator("Bobba Fet", "en-UK") even though "Bobba Fet" belongs to "Crusaders".

      It contradicts the way TaskService.getTasksAssignedAsPotentialOwner() respects Groups of the User.
      https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/commands/GetTaskAssignedAsPotentialOwnerCommand.java#L82-L84

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: