Repository navigation
docs: align compute access with EOC-Compute - #211
Conversation
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
Reviewer's GuideDocumentationAlign the LS Login and proTES guidance, including the currently deployed admin-task exception, with the EOC-Compute-only policy.
Update Node onboarding guidance and its service comparison to require EOC-Compute membership and state the entitlement and TESK claim limitations.
Change the registry review criteria to identify EOC-Compute as the relevant compute group.
Align Krini and its tutorial with the rule that only EOC-Compute members can run tasks, while retaining the Admin tier's forms.
Remove the obsolete admin exception from the interactive TES services tutorial.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Documentation build overview
7 files changed ·
|
…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
There was a problem hiding this comment.
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
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
Linked issuesChecked at commit 33985ba #212 docs: align compute access with the policies · 1 of 2 met
|
Summary
Aligns the other pages with the compute rule of the policies page (#197): only members of
ECP_CLN:EOC-Computecreate tasks;ECP_CLN, its other subgroups andECP_CLN:ADMINdon'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 namesEOC-Computeonly; the configuration table still lists the deployed ruleadmins-create-list-tasks(it is still in the effective config) and says it is to be removed; a new client needsEOC-Computeassigned (andADMINonly for the roleadmin).operators/ls-login.md"Compute access": onlyEOC-Computecreates tasks;ADMINmaps toadmin, for administration, not for running tasks.operators/node-onboarding-tutorial.md: test account inEOC-Compute(not "ECP_CLNor one of its subgroups"); the policy paragraph of step 3, the product table, the Poiesis/Funnel gaps; the entitlement value ofEOC-Computeis given (in the text and in the TESKclaim.valuesexample) 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-Computeinstead ofECP_CLN, with a link to the policies page.researchers/krini.md,researchers/tutorial-krini.md,tutorials/tes-services/interactive_services_tes.md: no "(orECP_CLN:ADMIN)" any more; Krini's Admin tier keeps its forms, but onlyEOC-Computemembers 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.mainis merged in (033a3e3, no rebase). The conflicts are resolved as follows:policies.mdtakesmain's version. Inprotes.md, the Access row keepsEOC-Computeonly.Since then:
ls-login.mdsays "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.ls-login.mdsay that the deployed proTES still letsECP_CLN:ADMINcreate tasks untiladmins-create-list-tasksis removed (a6b0a58; Sourcery).EOC-Computemembership is revoked loses access to their own tasks (1003b01; Sourcery).ECP_CLNuntil docs: update the demo and Poiesis pages #199 is merged, so this PR no longer changespolicies.md.Files of other open PRs:
node-onboarding-tutorial.mdandresearchers/tutorial-krini.mdare 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 itsECP_CLNsentence toECP_CLN:EOC-Compute. Files of #200 and #209 aren't touched.Not changed:
ECP_CLN:ADMINas the registry's admin group (cloud-registry.md,using-cloud-registry-ui.md) and as the approvers ofEOC-Computeapplications inls-login.md: these aren't compute rights.Closes #212
How it was verified
grepoverdocs/andincludes/forECP_CLN,ADMIN, "subgroups", "both groups", "these groups": no remaining statement thatECP_CLN, a subgroup orADMINgrants compute.python scripts/check_names.py: passed.DOCS_REGISTRY_OFFLINE=1 mkdocs build --strict: passed.pytest: 356 passed, 100% coverage.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:ADMINcreate tasks until the values change of D-416 d51 is applied; once it is, theadmins-create-list-tasksmention 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-Computemembers may run tasks.Enhancements:
ECP_CLN:EOC-Computemembers can create tasks, whileECP_CLN:ADMINis limited to administration.