cancel
Showing results for 
Search instead for 
Did you mean: 

Every User can claim task

antje
Champ in-the-making
Champ in-the-making
Every user is able to claim a user task, even if he is no member of the group the task is assigned to. Is that the correct behaviour? I thougt, the membership is checked by activiti, if the user tries to claim.

Best regards
Antje
3 REPLIES 3

antje
Champ in-the-making
Champ in-the-making
Now I try to check it myself, but contains() does not work on List<Task>
Could you implement equals() on Tasks?

jbarrez
Star Contributor
Star Contributor
There is indeed no check, because we cant assume that everyone is using the IdentitySession.

Can't you use the UserQuery/Groupquery to do a check first, before claiming the task ?

antje
Champ in-the-making
Champ in-the-making
That`s what I do in the meantime 😉 It would be comfortable, if I could check the unassigned Tasklist with contains(), but a foreach-loop works, too.