You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LS Login: record the ECP_CLN entitlement values #46
proTES (#31), TESK (#35), Funnel (#20) and Krini (elixir-cloud-aai/krini#43) all authorize by membership in ECP_CLN or its subgroups, released by LS Login as entitlement values. Each of those issues says not to hardcode a guessed value. One authoritative record avoids four different guesses.
How?
With a test member of ECP_CLN, of a subgroup (e.g. EOC-Compute) and of ECP_CLN:ADMIN, read the userinfo response (and the access token) for a client of the ELIXIR On-Cloud services.
Record here, without tokens or personal identifiers:
the exact eduperson_entitlement values for ECP_CLN, a subgroup and ECP_CLN:ADMIN;
whether subgroup members also carry the parent ECP_CLN value;
whether the values are in the access token or only in the userinfo response.
Link this record from the issues above.
Acceptance criteria
The values and the answers to the two questions are recorded here and linked from the dependent issues.
The ECP_CLN entitlement values, as LS Login releases them (read live during the proTES deployment on 2026-11-12 and checked again on 2026-11-15 with a token of the Cloud Registry client; no tokens or personal identifiers here):
Members of ECP_CLN (parent group): urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN#aai.lifescience-ri.eu (expected form; not released in the check below)
Subgroup, e.g. compute users: urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu
Each value also comes a second time from the ELIXIR Czech Perun, e.g. urn:geant:elixir-europe.org:group:elixir:ECP_CLN:EOC-Compute#perun.elixir-czech.cz (same for ADMIN). Rules should match the lifescience-ri.eu form and ignore the other one, or accept both explicitly.
Answers to the two questions:
Do subgroup members also carry the parent ECP_CLN value? No. A member of EOC-Compute and ADMIN received both subgroup values, but not the parent ECP_CLN value. Services must therefore match the subgroup values themselves (or a prefix), not the parent group.
Where are the values? Userinfo only. The access token (a JWT) carries scope with eduperson_entitlement, but not the values; services have to call the userinfo endpoint (or introspection) to get them.
LS Login releases a group only if it is assigned to a resource of the Perun facility of the client that issued the token. Membership alone isn't enough: a token from a client whose facility lacks the assignment carries none of these values, and services that map groups then answer 403.
Use in ELIXIR On-Cloud: members of EOC-Compute and ADMIN may run tasks (proTES maps EOC-Compute to user and ADMIN to admin plus the task rules). Both groups are assigned to the facility of the portal's client (Krini), the frontend that starts tasks.
Correction to my previous comment: whether the parent ECP_CLN value is released depends on the client, not on the group structure.
A second check today, with a token of Krini's client, released the parent value urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN#aai.lifescience-ri.eu next to ECP_CLN:EOC-Compute and ECP_CLN:ADMIN (and other ECP_CLN subgroups), each again also in the elixir-europe.org … #perun.elixir-czech.cz form. The token of the Cloud Registry client didn't carry the parent value. This matches the facility rule above: each client gets only the groups assigned to a resource of its own facility, and Krini's facility has the parent group assigned, the registry's doesn't.
So, corrected answers:
Do subgroup members also carry the parent ECP_CLN value? Only if the parent group is assigned to the facility of the client that issued the token (Krini: yes; Cloud Registry: no). Services should therefore match the subgroup values they need (EOC-Compute, ADMIN), not the parent group.
Where are the values? Userinfo only, for both clients: the access token carries the eduperson_entitlement scope, but not the values.
Activity
uniqueg commentedon Nov 15, 2026
The
ECP_CLNentitlement values, as LS Login releases them (read live during the proTES deployment on 2026-11-12 and checked again on 2026-11-15 with a token of the Cloud Registry client; no tokens or personal identifiers here):eduperson_entitlement, issuerhttps://login.aai.lifescience-ri.eu/oidc/.urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN#aai.lifescience-ri.eu(expected form; not released in the check below)urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:ADMIN#aai.lifescience-ri.euurn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.euEach value also comes a second time from the ELIXIR Czech Perun, e.g.
urn:geant:elixir-europe.org:group:elixir:ECP_CLN:EOC-Compute#perun.elixir-czech.cz(same forADMIN). Rules should match thelifescience-ri.euform and ignore the other one, or accept both explicitly.Answers to the two questions:
ECP_CLNvalue? No. A member ofEOC-ComputeandADMINreceived both subgroup values, but not the parentECP_CLNvalue. Services must therefore match the subgroup values themselves (or a prefix), not the parent group.scopewitheduperson_entitlement, but not the values; services have to call the userinfo endpoint (or introspection) to get them.LS Login releases a group only if it is assigned to a resource of the Perun facility of the client that issued the token. Membership alone isn't enough: a token from a client whose facility lacks the assignment carries none of these values, and services that map groups then answer 403.
Use in ELIXIR On-Cloud: members of
EOC-ComputeandADMINmay run tasks (proTES mapsEOC-ComputetouserandADMINtoadminplus the task rules). Both groups are assigned to the facility of the portal's client (Krini), the frontend that starts tasks.Dependent issues: #31, #35, #20, elixir-cloud-aai/krini#43.
uniqueg commentedon Nov 15, 2026
Correction to my previous comment: whether the parent
ECP_CLNvalue is released depends on the client, not on the group structure.A second check today, with a token of Krini's client, released the parent value
urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN#aai.lifescience-ri.eunext toECP_CLN:EOC-ComputeandECP_CLN:ADMIN(and otherECP_CLNsubgroups), each again also in theelixir-europe.org … #perun.elixir-czech.czform. The token of the Cloud Registry client didn't carry the parent value. This matches the facility rule above: each client gets only the groups assigned to a resource of its own facility, and Krini's facility has the parent group assigned, the registry's doesn't.So, corrected answers:
ECP_CLNvalue? Only if the parent group is assigned to the facility of the client that issued the token (Krini: yes; Cloud Registry: no). Services should therefore match the subgroup values they need (EOC-Compute,ADMIN), not the parent group.eduperson_entitlementscope, but not the values.