Skip to content

feat: pass user identity to TES backends #254

Open

Description

@uniqueg

Problem

Since #213, proTES calls TES backends with its own service token. Backends therefore see proTES, not the user who submitted the task, and they can't account or audit per user. #215 records task ownership from the caller's own token only. A workflow engine such as Conquest that submits tasks on a user's behalf can't name that user.

Expected

To be designed together with the other ELIXIR On-Cloud services (Conquest, the TES implementations) and the node operators:

  • Which TES task tags carry the user's identity (e.g. sub) and the original client, and how backends may use them (accounting and audit only, not authorization; privacy notices).
  • An on-behalf-of path for allow-listed service clients (e.g. Conquest): how the user is named, and how proTES trusts it only from those clients.
  • Later: token exchange (RFC 8693) instead of tags.

TaskRuns._relayed_task() is the extension point that #213 left for this.

On hold until the other services are ready (maintainer decision Q4).

Activity

  1. added
    priority: medium
    status: on hold
    type: feature
    workload: days
    on Oct 23, 2026
  2. modified the milestones: v1.0.0-rc1, v0.6.0, v0.7.0 on Nov 1, 2026
  3. removed this from the v0.7.0 milestone on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: on holdtype: featureworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions