elguardian commented on code in PR #4016:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4016#discussion_r2272302475


##########
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/DefaultUserTaskLifeCycle.java:
##########
@@ -173,6 +173,7 @@ public Optional<UserTaskTransitionToken> 
claim(UserTaskInstance userTaskInstance
                 
defaultUserTaskInstance.setActualOwner(identityProvider.getName());
             }
         }
+        checkPermission(userTaskInstance, identityProvider);

Review Comment:
   you need to check with the parameter as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to