Details
-
Bug
-
Resolution: Unresolved
-
Major
-
jBPM 5.4
Description
I have the following scenario :
- user admin creates a task for group businessGroup and user admin.
- user demo (belonging to businessGroup) starts working on the task (taskService.start).
- user demo forwards the task to another group.
I get :
Caused by: org.jbpm.task.service.PermissionDeniedException: User '[User:'demo']' does not have permissions to execution operation 'Forward' on task id 35
From what I understood, Operation.Forward verifies if userIsExplicitPotentialOwner.
If it's not the case, jBPM considers that the user doesn't have the permissions to forward the task - even if the user is the owner of the task.