Skip to content

docs: fix 0.4.0 review findings in the docs #363

Closed

Description

@uniqueg

Low findings of the pre-release review of 0.4.0 that concern the docs. Code findings: #364; design questions: #366; FOCA side: elixir-cloud-aai/foca#577; foca-plugins releases for FOCA 0.19: elixir-cloud-aai/foca-plugins#32; hashed image lock (deferred): #365.

  • Plugin trust model overstated: docs/plugins.md and docs/access-control.md say plugins never see the credentials of TES instances. Plugins are in-process code: they can read PROTES_CLIENT_ID/PROTES_CLIENT_SECRET and Basic credentials from the environment, the token provider and the database. Say that plugins are fully trusted code, that the API limits only guard against mistakes, and recommend reviewed, hash-pinned plugins.
  • One client-credentials token for all TES instances of a registry: entries default to auth: client_credentials, and the token is cached per issuer, client and scope, without a per-instance audience, so every registry-verified TES instance gets a token it could replay at the others (also the operator's own). Document the exposure and that the registry's admins decide which services get it.
  • Provenance params and annotations: docs/operations.md says records hold no tokens and no personal data. That holds only if plugins declare secrets as SecretStr and annotate no personal data. Qualify the sentence and document the SecretStr requirement.
  • Public service info lists backend URLs: the unauthenticated GET /service-info lists every TES instance (id, URL, source, group, labels). Document it prominently (the only opt-out, runtime_fields: null, also hides gateway).
  • GET /plugins lists plugins only for callers who may choose pipelines: docs/api.md and docs/plugins.md say it lists the default pipeline; with client_pipelines.enabled: false (default) it lists none.
  • Loop detection condition: docs/upgrading.md says loop detection always applies; it needs server.public_url or plugins.gateway_id.
  • Outdated FOCA versions: $comment of deployment/values.schema.json (FOCA 0.17) and deployment/README.md (FOCA 0.18 or later).
  • keep_group_subjects warning on every startup: document in docs/access-control.md that it is harmless for proTES (FOCA side: separate FOCA issue).
  • name_prefix matches the submitted name: GET /tasks?name_prefix= filters on the task as submitted, not on the name after request plugins (which may rename tasks). Document it.

Not in scope here:

Activity

  1. added this to the v0.4.0 milestone on Oct 31, 2026
  2. added
    priority: medium
    status: in progress
    type: docs
    workload: hours
    on Oct 31, 2026
  3. removed
    status: in progress
    on Oct 31, 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: mediumtype: docsworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions