Details
-
Bug
-
Resolution: Done
-
Major
-
jBPM 6.3.0.Final
-
None
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