Repository navigation
docs: add an operator policies page - #197
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
Reviewer's GuideConfigurationReview the navigation change that adds the Policies and Requirements page under Architects & Operators.
DocumentationReview the new operator policies page as the central statement of service requirements, including authentication, compute access control, registry and service-info rules, security, upgrades, data handling, and support.
Review the operator index and data-centre tutorial updates together to check how the new policy page is introduced and how its applicability to data nodes is described.
Review the proTES documentation update publishing its LS Login client ID and explaining that proTES does not yet send its own tokens.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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
Linked issuesChecked at commit 1bad95d #198 docs: add a policies and requirements page for operators · 3 of 4 met · 1 to check by hand
|
There was a problem hiding this comment.
Hey - I've found 5 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="docs/operators/policies.md" line_range="31" />
<code_context>
+
+## Authentication
+
+- Your service **must** require [LS Login](ls-login.md) access tokens for
+ every endpoint except `GET /service-info`: no anonymous access. The
+ issuer of LS Login is `https://login.aai.lifescience-ri.eu/oidc/`.
</code_context>
<issue_to_address>
**Data-centre services cannot comply**
When a data-centre operator follows the documented TRS-Filer 0.5.0 or storage setup, the blanket LS Login rule requires tokens for every endpoint except `GET /service-info`, but TRS-Filer 0.5.0 has no authentication and the documented storage setup uses S3 or FTP credentials. The tutorial's write restriction leaves TRS reads public, so operators cannot follow both instructions or use the documented setup compliantly.
Scope the LS Login requirement for these data-centre services or document a compatible authentication setup.
Also at `docs/operators/policies.md:16-18`, `docs/operators/policies.md:32-33`, `docs/operators/policies.md:154-156`, `docs/operators/data-centre-onboarding-tutorial.md:36-40`.
</issue_to_address>
### Comment 2
<location path="docs/operators/policies.md" line_range="68-69" />
<code_context>
+ from an explicit allow list, and accepts as audience (`aud`) that
+ client's own client ID. A listed client stands in for the
+ `EOC-Compute` group when it creates tasks and, as their creator, owns
+ them: it may get, list and cancel its own tasks, and nothing beyond, no
+ other users' tasks and no admin rights. The client ID of the gateway
+ is on its [service page](services/protes.md#in-the-elixir-on-cloud);
+ ask the [admins][elixir-on-cloud-email] for any other client IDs to
</code_context>
<issue_to_address>
**Gateway tasks share one owner**
When proTES submits tasks for multiple users to a Node using its shared client-credentials identity, a Node accepts proTES’s `client_credentials` token for users’ submissions, so the TES service identifies those tasks as created by the same gateway principal. That principal can list and manage all tasks it created through the gateway, including tasks submitted by different users; the stated limit therefore does not provide the claimed user-to-user isolation.
Clarify that the gateway principal owns all tasks it submits and require the gateway to enforce per-user access, or use an identity scheme that preserves each user’s ownership at the TES service.
</issue_to_address>
### Comment 3
<location path="docs/operators/policies.md" line_range="54" />
<code_context>
+ `eduperson_entitlement` value
+ `urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu`.
+ The group is required only to create tasks. The parent group `ECP_CLN`
+ grants nothing. A token without the group gets `403 Forbidden` when it
+ creates a task. Researchers apply for the group as described in [Compute
+ access](ls-login.md#compute-access).
</code_context>
<issue_to_address>
**Gateway clients get conflicting access rules**
When a TES service applies the group-only rule to a listed gateway client, a gateway client without the `EOC-Compute` group is covered by the unqualified rule that tokens without the group get `403`, but the next rule explicitly allows listed clients to create tasks without that group. Operators applying the first rule reject the documented gateway path.
Qualify the group requirement and `403` rule as applying to user tokens, and state the allow-listed service-client exception alongside them.
Also at `docs/operators/policies.md:63`.
</issue_to_address>
### Comment 4
<location path="docs/operators/policies.md" line_range="16-18" />
<code_context>
+a recommendation. Each section links to the page with the details and the
+steps.
+
+The requirements apply to every service that a Node runs in the
+federation: TES and WES services of compute Nodes, and the storage and TRS
+services of data centres (see [Who can join](index.md#who-can-join)).
+Requirements specific to data nodes, e.g., for DRS services, are not
+written down yet.
</code_context>
<issue_to_address>
**Data-centre requirements appear postponed**
When a data-centre operator uses the operators’ index to decide which requirements apply, the index says data-node requirements will follow, while this page applies its requirements to data-centre storage and TRS without distinguishing shared rules from data-node-specific ones. Operators can conclude that common requirements do not apply yet.
Clarify in the index that shared requirements apply now and data-node-specific requirements will follow.
</issue_to_address>
### Comment 5
<location path="docs/operators/policies.md" line_range="197-198" />
<code_context>
+
+## Onboarding steps
+
+1. Read this page, and write to the [admins][elixir-on-cloud-email],
+ with a security contact.
+2. Follow [Onboarding](onboarding.md), or step by step [Tutorial: Onboard a
+ Node](node-onboarding-tutorial.md) for compute and [Tutorial: Onboard a
</code_context>
<issue_to_address>
**Security contact appears mandatory**
When an operator follows the numbered onboarding steps, step 1 presents a security contact as required, while the support section calls it a recommendation, so operators cannot tell whether they can join without one.
Qualify the security contact in step 1 as recommended rather than required.
Also at `docs/operators/policies.md:188-189`.
</issue_to_address>Sourcery assessment
Needs a human reviewer. 5 findings to address first, and the page establishes who may create compute tasks and which service clients may act as creators; operators could configure those rules into live services, where an overly broad rule could expose task creation and cluster execution to unauthorized callers. Reverting the documentation would not undo those deployed access-control changes.
Blocking findings: docs/operators/policies.md:31, docs/operators/policies.md:69, docs/operators/policies.md:54, docs/operators/policies.md:18, docs/operators/policies.md:198
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
The policies page called the runs of a WES service "tasks", which can be confused with TES tasks. Use the neutral "jobs" where a rule applies to both, and keep "tasks" where only TES is meant. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Say why jobs are visible to their creators only (sensitive data later, no leaks, no reads by an attacker with admin rights) and why the gateway uses a service client until token exchange works. Note that owners still need an access token, and that service clients may stay for smoke tests after token exchange. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Drop the sentence on what the registry lists, say that the registrant keeps the entry up to date, and ask for verification only for services that are to join the federation, not for test entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Say what unique and stable mean for the service info id and of which domain its reverse notation is, that the registry refuses environments other than prod and test, and where the type rules are explained. Let Node services use any address of their own outside elixir-on.cloud. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Say prominently that the ELIXIR On-Cloud is an early-stage sandbox, not for production and not for sensitive data, and turn the note on other pages into a rule for the case that a page differs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
TRS-Filer 0.5.0 has no authentication, TRS-Filer 0.6.0 requires tokens for writes, and DRS-Filer has no release yet but requires tokens for writes on its default branch. Require restricted writes in front of TRS-Filer only for the versions without write authentication. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Define MUST, MUST NOT, SHOULD, SHOULD NOT and MAY as in RFC 2119 and RFC 8174, give every rule on the page one of them, and use lower-case words in sentences that only explain. List the LS Login rules of TES and WES services before the notes on data centres. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Documentation build overview
|
Summary
Adds one operator page, Policies and Requirements (
docs/operators/policies.md), the "document with policies/requirements for integration" that the D4.5 wording asks for. Until now these requirements were spread over several pages. The page collects what the operator of an ELIXIR On-Cloud service must and should do, with links to the pages that hold the details: authentication (LS Login), access control for compute, the registry entry, service info, addresses and TLS, security, upgrades, data handling, support and contact, and the onboarding steps. It sits in the nav right after "Central Addresses" (before "Onboarding") and gets a row in the table on the operators' start page.The second commit applies the decisions of 25 November:
7c0c1fc0-e8ca-47d6-a9b2-bdc843961146(D-392) is published onservices/protes.md(new "LS Login client" row; the "doesn't use a client of its own yet" sentence now says it has one but doesn't send its tokens yet), and the policies page links to it instead of "ask the admins for the client IDs" (D-416, board d56).EOC-Computecreates tasks, no ADMIN compute (D-388, D-416 board d51): the page already said so; nothing to change here. The other pages are aligned in the follow-up PR (see below).The info box "Other pages may still describe earlier rules" stays in this PR: the alignment of the other pages is a separate PR, stacked on this one, which removes the box.
The page states only policies that were already decided or are already in the docs. The decision IDs are listed here and not on the page (HTML comments would end up in the published HTML source).
Closes #198
Sources of the policy statements
operators/index.md"Who can join"/service-infopublicservice-info.mdchecklistls-login.mdelixir:ECP_CLN:EOC-Computecreates; base group grants nothing; 403 on create; no ADMIN computeservices/protes.mdiss+client_idallow list,aud= client's own ID, stands in for EOC-Compute at create, owns its tasks, nothing beyondusing-cloud-registry.md,service-info.mdonboarding.mdstep 4,using-cloud-registry.mdServicemodel; required fieldsservice-info.md("The import needs ...")service-info.md, D-270elixir-on.cloud*.elixir-on.cloudsubdomain only for central services"), maintainer's review of 26 Nov,addresses.mdonboarding.md(vsftpd)ls-login.mddata-centre-onboarding-tutorial.md, trs-filerdocs/access-control.mdat v0.5.0 and on dev, drs-filerdocs/access-control.mdon devSECURITY.md, linked fromusing-cloud-registry-ui.mdnode-onboarding-tutorial.mdstep 8ls-login.md"How approvals work",researchers/index.md,includes/scope.mdcontactUrlfor user support; forumindex.md,onboarding.md,service-info.mdDecided since the first version
The open questions of the first version are answered: other pages aligned in a follow-up PR, box kept until then (D-416 d51); image scanning "should" (D-415 d52); security e-mail "should" (D-415 d53); data-node requirements "not written down yet" with the tutorial linking here (D-416 d54); proTES client ID on
services/protes.md(D-416 d56); "tasks" for TES and WES (D-410).Not included
service-info.md); it can be added to this page once that is decided and merged.Maintainer review (26 Nov)
All 14 comments of the maintainer's review are addressed, each thread answered with its commit and resolved:
idunique/stable/reverse domain defined, other environments refused,typerule reworded with links; addresses: any own address, but noelixir-on.cloudnames (912366f).Also: the TRS-Filer and DRS-Filer notices are version-specific (9e4319c): TRS-Filer 0.5.0 has no authentication (as its own access control page says), so its writes MUST be restricted in front of it; from 0.6.0 TRS-Filer requires tokens for writes itself; DRS-Filer has no release, and its default branch requires tokens and the admin role for writes (drs-filer#92 still open).
How it was verified
On 9c3ab76:
python scripts/check_names.py: passed.DOCS_REGISTRY_OFFLINE=1 mkdocs build --strict: passed; nested lists and the danger box render as intended.pytest: 356 passed, 100% coverage.Review
Light lane: docs-only, no reviewer subagents. I reviewed the diff myself: each statement was checked against its source above (quoted from the decision records), links and anchors were checked by the strict build, the wording is in the style of the existing operator pages, and
last_verified: nullis set because the page holds operational facts (contacts, issuer, entitlement value).Automated review
Sourcery found 5 issues on 134e6b7, all fixed in d8be866 (threads answered and resolved): the Authentication rules now apply to TES and WES services (TRS-Filer 0.5.0 has no authentication; data-centre services point to the tutorial); the group rule and the 403 apply to user tokens, with listed service clients as the only exception; tasks created by the gateway belong to the gateway, which keeps its users apart; step 1 marks the security contact as recommended; the operators' start page says which requirements apply to data nodes now.
Declined review findings
None.
🤖 Generated with Claude Code
https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
Summary by Sourcery
Centralize and publish the ELIXIR On-Cloud operator policies and requirements, with supporting updates to data-centre and proTES documentation.
New Features:
Enhancements:
Documentation: