Repository navigation
Description
Why?
This is step 7 of the plan. It is desirable, but not required for M4.4: proTES can keep using service credentials downstream (elixir-cloud-aai/protes#201). Since the TES services do the actual work, they should eventually authenticate users and authorize them by group membership.
Note: Funnel has moved to https://github.com/calypr/funnel (the old ohsu-comp-bio/funnel now only redirects docs). The maintainers are reachable via our Slack.
Current upstream state (calypr/funnel):
- Authentication: OIDC exists (
server/auth_oidc.go; configServer.OidcAuth:ServiceConfigURL,ClientId/ClientSecret,RequireScope,RequireAudience,Admins).TaskAccess: Owner/OwnerOrAdminprovides per-owner visibility. - Authorization by group membership: not supported, as far as a grep shows. There is no group or entitlement check.
Authorization policy (agreed). Users must be members of the LS Login (Perun) group ECP_CLN (organization ELIXIR, "ELIXIR Compute Platform group for cloud apps") or any of its subgroups. The subgroups are currently ADMIN, BioHackCloud, BioHackCloud Admins, ELIXIR-CH, ELIXIR-CZ, ELIXIR-DE, ELIXIR-FI, ELIXIR-GR, ELIXIR-NL and OSS, plus the new EOC-Compute for approved compute users (elixir-cloud-aai/krini#45, #49; exact values in #46). Membership is managed as LS Login VO groups and released to services as entitlement values, typically in the eduperson_entitlement claim.
Do not hardcode a guessed string. Take the exact value(s) from the userinfo response or token of a test member; expect something like urn:geant:lifescience-ri.eu:group:<vo>:ECP_CLN…#…. Also check whether subgroup members carry the parent ECP_CLN entitlement. If they don't, accept ECP_CLN plus anything under ECP_CLN: by prefix. Note too whether the claim appears in the access token or only via userinfo, since that determines whether a userinfo lookup is needed.
How?
- Upstream feature: propose an optional required-entitlement check to Funnel, i.e., a config list of accepted values or prefixes plus the claim name. Include a userinfo lookup if the entitlements aren't in the access token. Open the upstream issue or PR and link it here.
- Deployment config: per Funnel deployment, enable
OidcAuthagainst LS Login, setTaskAccess: Owner, enable the group check once available, and verify that proTES-forwarded tokens are accepted (proTES: validate LS Login bearer tokens and define how downstream TES credentials are handled protes#201 option b):- CZ: Funnel/OpenPBS (
funnel.cloud.e-infra.cz) - DE: Funnel/Slurm @ BIH (
spe4hd.tes.bihealth.org) - FI: Funnel/Slurm (
fip-86-50-228-254.kaj.poutavm.fi) - NL: only if Funnel is chosen in Deploy a TES service at the NL Node (SURF) #22
- CZ: Funnel/OpenPBS (
Acceptance criteria
- An upstream issue or PR for group-based authorization exists, and is merged or has an agreed path.
- Every Funnel deployment in the checklist accepts tokens of
ECP_CLNmembers only, and rejects unauthenticated requests.
Dependencies: none. Relates to elixir-cloud-aai/protes#201.
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:
- Assign yourself (if someone is already assigned, ask them first or pick another one)
- Move the issue to "In progress" on the project board
- Start working 🚀
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNice to have
Activity
uniqueg commentedon Nov 11, 2026
Upstream issues posted 2026-11-11: