diff --git a/docs/operators/node-onboarding-tutorial.md b/docs/operators/node-onboarding-tutorial.md index 4cf2ac8..bf3b947 100644 --- a/docs/operators/node-onboarding-tutorial.md +++ b/docs/operators/node-onboarding-tutorial.md @@ -24,7 +24,7 @@ product docs: they are the reference, and this page doesn't repeat them. | [Poiesis](services/poiesis.md) | the default branch at commit [`c506d9d`][poiesis-c506d9d] (TES 1.1), which the FI and CZ Nodes run; not the latest release, 0.2.0 (see [step 2](#2-deploy-a-tes-service)) | TES service for Kubernetes (alternative) | | [Funnel][funnel] | 0.12.3 | TES service for HPC and HTC clusters (can't join yet, see [step 2](#2-deploy-a-tes-service)) | | [Cloud Registry][cr-docs] | 1.0.0rc2 | Registry of the services | -| [proTES][protes-docs] | 0.7.0; API keys for Poiesis need 0.8.0, not released yet, or a development build with them, which the ELIXIR On-Cloud's gateway runs since 29 November 2026 (see [step 7](#7-get-added-behind-the-gateway) and [proTES](services/protes.md#in-the-elixir-on-cloud)) | Gateway in front of the TES services | +| [proTES][protes-docs] | 0.8.0 (API keys for Poiesis need 0.8.0), which the ELIXIR On-Cloud's gateway runs since 1 December 2026 (see [step 7](#7-get-added-behind-the-gateway) and [proTES](services/protes.md#in-the-elixir-on-cloud)) | Gateway in front of the TES services | | [Pubgrade-Sidecar][sidecar-docs] | 0.3.1 | Automatic upgrades (optional) | !!! note "Before you start" @@ -699,8 +699,7 @@ service, and make your service accept it: key. An admin of the ELIXIR On-Cloud who is a member of `ECP_CLN:EOC-Compute` mints it at your Poiesis with a token from Krini, whose client `keyMinting` lists (see [step 3](#poiesis)), and stores it - for the gateway, which needs proTES 0.8.0 or a development build with - API keys. Poiesis sees the tasks of the gateway as tasks of that + for the gateway, which needs proTES 0.8.0. Poiesis sees the tasks of the gateway as tasks of that admin's account, so that account can list, read and cancel them at your Poiesis; users still see only their own tasks in proTES. This holds until proTES exchanges the tokens of its users for tokens of each TES @@ -884,10 +883,10 @@ follow [Tutorial: Onboard a Data Centre](data-centre-onboarding-tutorial.md). [poiesis-service-info]: [protes-501]: [protes-api-keys]: -[protes-credentials]: -[protes-discovery]: -[protes-docs]: -[protes-tes-instances]: +[protes-credentials]: +[protes-discovery]: +[protes-docs]: +[protes-tes-instances]: [pubgrade]: [sidecar-checking]: [sidecar-deployment]: diff --git a/docs/operators/policies.md b/docs/operators/policies.md index d3a26a1..30aa7f5 100644 --- a/docs/operators/policies.md +++ b/docs/operators/policies.md @@ -120,6 +120,17 @@ Your service MUST enforce these rules: these, as for every endpoint (see [Authentication](#authentication)). - **Listing jobs shows only the caller's own jobs.** There is no admin view of other users' jobs, not even a list. +- **No sharing in your service.** Your service MUST NOT show a job, its + inputs, outputs, logs or environment, to anyone but its owner, neither + to the members of a group nor to admins. Accounting data without job + content, such as the resources used per user, isn't a view of a job. + Sharing is up to the clients: a client that wants it stores the job + information it gets as the owner and shares it from there; the client + is then responsible for who sees it. +- **Operators act through the infrastructure, not through the API.** You + handle stuck or abusive jobs with the tools of your platform, for + example, `kubectl`, and with logs that don't expose the data of jobs. + Groups decide who may create jobs; they never widen who sees a job. - **Service clients**, such as the [gateway](services/protes.md): your service recognises a service client by the issuer and its `client_id`, from an explicit allow list, and accepts as audience (`aud`) that diff --git a/docs/operators/services/protes.md b/docs/operators/services/protes.md index 63537d9..f6d359c 100644 --- a/docs/operators/services/protes.md +++ b/docs/operators/services/protes.md @@ -36,7 +36,7 @@ As of November 2026: | What | Value | |---|---| | Address | TES API at `https://gateway-tes.elixir-on.cloud/ga4gh/tes/v1` (the host itself has no page); the old address `protes.rahtiapp.fi` keeps working | -| Version | since 29 November 2026, an image of the `dev` branch at commit `8e31da3`, pinned by digest: proTES 0.7.0 with API keys for TES services (see [API keys for Poiesis](#api-keys-for-poiesis)); its service info reports the version `0.7.1.dev6+g8e31da33c`. proTES 0.8.0 replaces it once its release is out | +| Version | since 1 December 2026, the [v0.8.0 release](https://github.com/elixir-cloud-aai/proTES/releases/tag/v0.8.0), pinned by digest (see [Configuration](#configuration)); since 2 December 2026, Pubgrade rolls out its patch releases (0.8.x) automatically. From 29 November 2026 to the upgrade, an image of the `dev` branch at commit `8e31da3` | | Access | LS Login access tokens of members of the group `ECP_CLN:EOC-Compute`, issued to a client that it accepts, such as Krini's (see [Researchers](../../researchers/index.md#before-you-start)). Members of `ECP_CLN:ADMIN` can't create tasks: admins who run tasks join `ECP_CLN:EOC-Compute` (see the role `admin` below) | | LS Login client | client ID `7c0c1fc0-e8ca-47d6-a9b2-bdc843961146`, issuer `https://login.aai.lifescience-ri.eu/oidc/`: a TES service behind proTES lists this client ID and accepts it as audience (see [Access control for compute](../policies.md#access-control-for-compute)) | | Environment | `test`; its service info calls it "ELIXIR On-Cloud TES Gateway" | @@ -58,21 +58,21 @@ Nodes](../policies.md#identity-of-submitters-at-the-nodes). ### Configuration The effective configuration of the ELIXIR On-Cloud's proTES, as of -18 November 2026, of 25 November 2026 for the role `admin`, and of -29 November 2026 for its TES services (see [Access control in the proTES -0.7.0 docs](https://protes.readthedocs.io/en/v0.7.0/access-control/) for -what the roles may do): +18 November 2026, of 1 December 2026 for the deployment and the roles, and +of 29 November 2026 for its TES services (see [Access control in the +proTES 0.8.0 docs](https://protes.readthedocs.io/en/v0.8.0/access-control/) +for what the roles may do): | Setting | Value | |---|---| -| Deployment | since 29 November 2026 (Helm revision 16): the Helm chart in `deployment/` of the `dev` commit `8e31da3` on CSC's Rahti, image `elixircloud/protes:sha-8e31da33c7121ba0e3147bb818f6080c5a3551cb@sha256:5a26a058960b055e7c288bf1446ca3f298fac0d58463419dc86796a0669f9309` (signed and attested by proTES' CI), with MongoDB 7.0 and RabbitMQ 4.3 from the chart. Before: the chart and image of the [v0.7.0 release](https://github.com/elixir-cloud-aai/proTES/releases/tag/v0.7.0) | +| Deployment | since 1 December 2026 (Helm revision 18): the chart and image of the [v0.8.0 release](https://github.com/elixir-cloud-aai/proTES/releases/tag/v0.8.0) on CSC's Rahti, image `elixircloud/protes:0.8.0@sha256:bf1e689a21f3e13091a853c29974762b8a9edd538a1369783c0cf13e4355962b` (signed by proTES' release workflow), with MongoDB 7.0 and RabbitMQ 4.3 from the chart. Before: the chart in `deployment/` of the `dev` commit `8e31da3` with its image (Helm revisions 16 and 17, from 29 November 2026) | | Token issuer | LS Login only: `https://login.aai.lifescience-ri.eu/oidc/` | | Audience | the LS Login clients of Krini and of the Cloud Registry UI | | Groups | read from LS Login's userinfo endpoint, claim `eduperson_entitlement` | -| Role `user` | `urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu`: create tasks, list their own, list and read the plugins | -| Role `admin` | `urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:ADMIN#aai.lifescience-ri.eu`: the permissions API (`/admin/access-control/permissions`, on the public address) and the provenance of all tasks. Since 25 November 2026, no added rule gives it the rights of `user`: only members of `ECP_CLN:EOC-Compute` may create tasks (see [Access control for compute](../policies.md#access-control-for-compute)), so admins who run tasks join `ECP_CLN:EOC-Compute` | -| Other tokens | valid tokens without either group get `403 Forbidden` on tasks and plugins; the service info is public | -| Own tasks | only the user who created a task can read and cancel it; admins can read the provenance of any task, not the task | +| Role `user` | `urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu`: create tasks, list and read the plugins | +| Role `admin` | `urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:ADMIN#aai.lifescience-ri.eu`: the resource usage per user, the execution reports and the provenance of all tasks, none of them with task content. Since 25 November 2026, no added rule gives it the rights of `user`: only members of `ECP_CLN:EOC-Compute` may create tasks (see [Access control for compute](../policies.md#access-control-for-compute)), so admins who run tasks join `ECP_CLN:EOC-Compute`. Since 1 December 2026 (proTES 0.8.0), FOCA's permissions API is off: `/admin/access-control/permissions` returns `404`, so nobody can make themselves the owner of another user's task | +| Other tokens | valid tokens without either group get `403 Forbidden` when they create tasks or use plugins, and see only their own tasks (none, unless their user created tasks before leaving `ECP_CLN:EOC-Compute`); the service info is public | +| Own tasks | only the user who created a task can list, read and cancel it, also after leaving `ECP_CLN:EOC-Compute`; admins can read the provenance of any task, not the task | | TES services | since 26 November 2026: the TESK of the FI Node at `https://tesk.rahtiapp.fi` and the TESK of the CZ Node at `https://tesk.dyn.cloud.e-infra.cz`, both with `auth: client_credentials` (a token of proTES' own LS Login client, client ID above); since 29 November 2026: the Poiesis of the FI Node at `https://poiesis.rahtiapp.fi` and of the CZ Node at `https://poiesis.dyn.cloud.e-infra.cz`, both with `auth: api_key` (see [API keys for Poiesis](#api-keys-for-poiesis)) | | Plugins | none configured (the service info lists no capabilities) | @@ -187,7 +187,7 @@ To roll back, that is, to take both Poiesis out of the gateway: [protes-501]: [protes-api-keys]: [protes-pinning]: -[protes-tes-instances]: +[protes-tes-instances]: [gi-46]: [gi-111]: diff --git a/docs/researchers/krini.md b/docs/researchers/krini.md index 72716a8..40eafad 100644 --- a/docs/researchers/krini.md +++ b/docs/researchers/krini.md @@ -179,8 +179,10 @@ A TES task runs one or more container images, one after the other. See their names, states and creation times. You can search them by the beginning of their names, and filter them by state. -What a TES service lists depends on the service: a gateway such as proTES -lists only your own tasks, others may list the tasks of all users. +The TES services of the ELIXIR On-Cloud, the gateway (proTES) and the +services of its Nodes, list only your own tasks (see [Access control for +compute](../operators/policies.md#access-control-for-compute)). Services +outside it may list the tasks of all users. **View Details** opens the details of a task: its state, executors, inputs and outputs, resources, tags and logs, with the standard output and