Skip to content

docs: align compute access with EOC-Compute - #211

Merged
uniqueg merged 10 commits into
mainfrom
docs/align-compute-access
Nov 26, 2026
Merged

uniqueg merged 10 commits into
mainfrom
docs/align-compute-access

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Aligns the other pages with the compute rule of the policies page (#197): only members of ECP_CLN:EOC-Compute create tasks; ECP_CLN, its other subgroups and ECP_CLN:ADMIN don't (D-388 (3): "one role: elixir:ECP_CLN:EOC-Compute, required ONLY to create tasks; the base group grants nothing ... ADMIN no longer runs tasks"; D-416 d51: "drop ADMIN compute everywhere now ..., docs aligned in a follow-up PR").

  • operators/services/protes.md: Access row names EOC-Compute only; the configuration table still lists the deployed rule admins-create-list-tasks (it is still in the effective config) and says it is to be removed; a new client needs EOC-Compute assigned (and ADMIN only for the role admin).
  • operators/ls-login.md "Compute access": only EOC-Compute creates tasks; ADMIN maps to admin, for administration, not for running tasks.
  • operators/node-onboarding-tutorial.md: test account in EOC-Compute (not "ECP_CLN or one of its subgroups"); the policy paragraph of step 3, the product table, the Poiesis/Funnel gaps; the entitlement value of EOC-Compute is given (in the text and in the TESK claim.values example) instead of "ask the admins". The heading "3. Enable LS Login and ECP_CLN access" stays, so that its anchor, which other pages and open PRs link to, keeps working.
  • operators/using-cloud-registry.md "What the admins check": EOC-Compute instead of ECP_CLN, with a link to the policies page.
  • researchers/krini.md, researchers/tutorial-krini.md, tutorials/tes-services/interactive_services_tes.md: no "(or ECP_CLN:ADMIN)" any more; Krini's Admin tier keeps its forms, but only EOC-Compute members may run tasks.

Was stacked on #197, now merged. When #197's branch was deleted, GitHub closed this PR. I restored the branch temporarily, reopened this PR and retargeted it to main. main is merged in (033a3e3, no rebase). The conflicts are resolved as follows: policies.md takes main's version. In protes.md, the Access row keeps EOC-Compute only.

Since then:

  • ls-login.md says "jobs" (TES tasks and WES workflow runs) for the compute rule, as the policies page now does (91253c8). The other pages keep "tasks" where only TES is meant, in plain lowercase wording, because the BCP 14 key words are defined on the policies page only.
  • The proTES Access row and ls-login.md say that the deployed proTES still lets ECP_CLN:ADMIN create tasks until admins-create-list-tasks is removed (a6b0a58; Sourcery).
  • Step 3 of the Node tutorial notes the TESK gap: with authorisation by a claim, an owner whose EOC-Compute membership is revoked loses access to their own tasks (1003b01; Sourcery).
  • The note on the policies page stays (33985ba; Sourcery): docs: add an operator policies page #197 already reworded it to the hypothetical "If other pages differ: follow this page". The Poiesis page still names ECP_CLN until docs: update the demo and Poiesis pages #199 is merged, so this PR no longer changes policies.md.

Files of other open PRs: node-onboarding-tutorial.md and researchers/tutorial-krini.md are also changed by #199, but in other hunks (Poiesis link targets; the proTES note in the Krini tutorial), so they merge without conflict. They can't be left out, as both describe the old rule. operators/services/poiesis.md (also in #199) is left alone: #199 already changes its ECP_CLN sentence to ECP_CLN:EOC-Compute. Files of #200 and #209 aren't touched.

Not changed: ECP_CLN:ADMIN as the registry's admin group (cloud-registry.md, using-cloud-registry-ui.md) and as the approvers of EOC-Compute applications in ls-login.md: these aren't compute rights.

Closes #212

How it was verified

  • grep over docs/ and includes/ for ECP_CLN, ADMIN, "subgroups", "both groups", "these groups": no remaining statement that ECP_CLN, a subgroup or ADMIN grants compute.
  • python scripts/check_names.py: passed.
  • DOCS_REGISTRY_OFFLINE=1 mkdocs build --strict: passed.
  • pytest: 356 passed, 100% coverage.
  • CI on 33985ba, after retargeting to main: Test, Docs, PR title, CodeQL, Read the Docs and CI passed are green.

Review

Light lane: docs-only. I reviewed the diff myself against D-388 (3) and D-416 d51 and against the policies page.

Declined review findings

None.

Open questions

None. Note: the proTES page describes the deployed config, which still lets ECP_CLN:ADMIN create tasks until the values change of D-416 d51 is applied; once it is, the admins-create-list-tasks mention on that page goes (one row).

🤖 Generated with Claude Code

https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5

Summary by Sourcery

Align all compute-access documentation with the policy that only ECP_CLN:EOC-Compute members may run tasks.

Enhancements:

  • Align compute-access documentation across operator, researcher, and tutorial pages so only ECP_CLN:EOC-Compute members can create tasks, while ECP_CLN:ADMIN is limited to administration.
  • Update onboarding and service documentation with the canonical compute entitlement, application guidance, and current enforcement gaps.
  • Remove the policies-page warning about inconsistent rules on other documentation pages.

uniqueg and others added 3 commits November 24, 2026 20:48
Collect in one page what the operator of an ELIXIR On-Cloud service
must and should do: LS Login authentication, access control for
compute, registry entries, service info, addresses and TLS, security,
upgrades, data handling, support and the onboarding steps. Every
statement comes from the decision records or from existing pages,
which the page links. Add the page to the nav and to the table of the
operators' start page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Operators should scan their images and upgrade on fixable critical or
high findings, and should give the admins a security contact when they
join. The data-centre tutorial points to the policies page for the
requirements instead of promising them. The proTES service page
publishes the gateway's LS Login client ID, and the policies page links
to it. The policies page says "tasks" for TES and WES alike.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Only members of ECP_CLN:EOC-Compute create tasks: ECP_CLN, its other
subgroups and ECP_CLN:ADMIN don't. Align the proTES, LS Login, Node
tutorial, registry, Krini and interactive services pages with the
policies page, give the entitlement value in the Node tutorial, and
drop the policies page's box about pages that still differ.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Documentation

Align the LS Login and proTES guidance, including the currently deployed admin-task exception, with the EOC-Compute-only policy.

  • docs/operators/ls-login.md L320-327
  • docs/operators/services/protes.md L40, L67, L74-76

Update Node onboarding guidance and its service comparison to require EOC-Compute membership and state the entitlement and TESK claim limitations.

  • docs/operators/node-onboarding-tutorial.md L80-84, L212-223, L247-256 (+4 small edits)

Change the registry review criteria to identify EOC-Compute as the relevant compute group.

  • docs/operators/using-cloud-registry.md L98-100

Align Krini and its tutorial with the rule that only EOC-Compute members can run tasks, while retaining the Admin tier's forms.

  • docs/researchers/krini.md L38-39, L45-46, L61
  • docs/researchers/tutorial-krini.md L36-38

Remove the obsolete admin exception from the interactive TES services tutorial.

  • docs/tutorials/tes-services/interactive_services_tes.md L194-196

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

uniqueg and others added 2 commits November 25, 2026 05:05
Scope the authentication rules to TES and WES services, as TRS-Filer
has no authentication yet; make the 403 rule apply to user tokens with
service clients as the exception; say that gateway tasks belong to the
gateway; mark the security contact in step 1 as recommended; and say on
the operators' start page which requirements apply to data nodes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@read-the-docs-community

read-the-docs-community Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

uniqueg and others added 2 commits November 26, 2026 02:13
…cess

# Conflicts:
#	docs/operators/policies.md
#	docs/operators/services/protes.md
The policies page now says "jobs" for TES tasks and WES workflow runs;
use the same word where the LS Login page names the compute rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@uniqueg
uniqueg marked this pull request as ready for review November 26, 2026 01:21

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 3 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/operators/services/protes.md" line_range="40" />
<code_context>
 | 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 | proTES 0.6.0 |
-| Access | LS Login access tokens of members of the group `ECP_CLN:EOC-Compute` or `ECP_CLN:ADMIN`, issued to a client that it accepts, such as Krini's (see [Researchers](../../researchers/index.md#before-you-start)) |
+| 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)) |
 | 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 "proTES sandbox (BioHackathon 2026)" |
</code_context>
<issue_to_address>
**Admins can still submit tasks**

When an `ECP_CLN:ADMIN` member who lacks `EOC-Compute` uses the currently deployed proTES, `admins-create-list-tasks` still grants the `admin` role task-creation rights, so the Access row's EOC-Compute-only statement does not describe who can submit tasks.

Remove `admins-create-list-tasks` from the effective configuration so only `EOC-Compute` members can create tasks.

Also at `docs/operators/ls-login.md:325-326`.
</issue_to_address>

### Comment 2
<location path="docs/operators/policies.md" line_range="36-38" />
<code_context>

 --8<-- "includes/scope.md"

-!!! info "If other pages differ"
-    If another page of these docs describes other rules than this page,
-    e.g., other groups that can run jobs, follow this page.
-
 ## Authentication
</code_context>
<issue_to_address>
**Operators get conflicting group rules**

When an operator consults the Poiesis service page for the required compute group, the Poiesis page still names `ECP_CLN`, while the onboarding and policy guidance require `ECP_CLN:EOC-Compute`; removing the precedence note leaves conflicting rules and can lead operators to authorize parent-group members.

Update the Poiesis page to require `ECP_CLN:EOC-Compute` and retain the policy page's precedence note.

Also at `docs/operators/node-onboarding-tutorial.md:83-84`, `docs/operators/node-onboarding-tutorial.md:213-216`.
</issue_to_address>

### Comment 3
<location path="docs/operators/node-onboarding-tutorial.md" line_range="247" />
<code_context>
     name: eduperson_entitlement
     values:
-      - <the ECP_CLN value(s) from the admins>
+      - "urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu"
 ```

</code_context>
<issue_to_address>
**Revoked users lose task access**

When a task owner loses `ECP_CLN:EOC-Compute` membership while their TESK task still exists, the `auth.claim.values` configuration admits only callers whose user-info entitlement contains `EOC-Compute`; after an owner loses that membership, TESK rejects their list, get, and cancel requests, despite the policy allowing those operations after revocation.

Configure or document an authorization path that permits authenticated task owners to use their own existing tasks after their compute-group membership is revoked.
</issue_to_address>

Sourcery assessment

Approval pending. 3 findings to address first.

Blocking findings: docs/operators/services/protes.md:40, docs/operators/policies.md:38, docs/operators/node-onboarding-tutorial.md:247


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread docs/operators/services/protes.md Resolved
Comment thread docs/operators/policies.md Resolved
uniqueg and others added 3 commits November 26, 2026 02:28
The deployed proTES still lets ECP_CLN:ADMIN create tasks through the
rule admins-create-list-tasks. Say so in its Access row and on the LS
Login page until the rule is removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
With authorisation by a claim, TESK gives users without the value no
rights, so owners whose EOC-Compute membership is revoked lose access
to their own tasks, which the policy allows. Say so in step 3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
The Poiesis page still names ECP_CLN until #199 is merged, so keep the
policies page note that it wins where another page differs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Linked issues

Checked at commit 33985ba

#212 docs: align compute access with the policies · 1 of 2 met

# Requirement Status Notes
1 Align the listed pages with the rule that only ECP_CLN:EOC-Compute grants task or job creation access. ✅ Met The operator, researcher and tutorial pages named in the issue now describe EOC-Compute as the required group. The proTES page also discloses that its deployed admin rule still lets ADMIN create tasks until that rule is removed.
2 Remove the policies page's box about pages that differ. ❌ Not addressed The “If other pages differ” box remains in docs/operators/policies.md.

@uniqueg
uniqueg merged commit bfe9793 into main Nov 26, 2026
17 checks passed
@uniqueg
uniqueg deleted the docs/align-compute-access branch November 26, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: align compute access with the policies

1 participant