Hi all,
I’m working with the Camunda 8 Tasklist API and using the endpoint:
POST http://localhost:8088/v2/user-tasks/{{id}}/completion
I noticed that I can complete any user task using this API without any form of authorization tied to the task. Specifically:
- The request doesn’t require any information about who is completing the task.
- It allows completion even if the task is assigned to someone else.
This raises a few questions:
- Is this the expected behavior of the Tasklist API in Camunda 8?
- Does Camunda itself not enforce task ownership or assignment checks at the API level?
- Should I, as a client, manually check the task’s assignee via the API before completing it and enforce the restriction in my application code?
I want to make sure I’m not missing any built-in mechanism or best practice. Any guidance would be appreciated!
Thanks in advance!