Ponos task authentication
Closes #1451 (closed)
I tested locally by running make build CLIENT_BRANCH=ponos-auth
in tasks
after pushing api-client!219 (merged), and found that a random PDF import, which normally runs with my internal user, failed with this error:
apistar.exceptions.ErrorResponse: {'worker_run_id': ['Only an internal user can create an element with a worker run.']}
Which proves that the task was authenticated as the process creator (an instance admin, but not internal) and not the configured internal token.