Skip to content

Cloud Registry: admin-set "verified" flag (backend and UI) #64

Closed

Description

@uniqueg

Why?

Any logged-in user can register services (#62). For proTES to discover backends from the registry (elixir-cloud-aai/protes#202) without leaking user tokens to arbitrary endpoints, it needs to tell admin-verified entries apart (decided). This is only needed for elixir-cloud-aai/protes#202, which is low priority.

How?

  1. Backend (this repo): add a verified flag that only ECP_CLN:ADMIN can set or unset, e.g., PUT /services/{id}/verified. Reset it automatically when the owner changes the service URL. Expose it in GET responses as an extension field or side endpoint, as in Cloud Registry backend: public read access, service ownership, ECP_CLN:ADMIN admin role #62, and allow filtering by it.
  2. UI (elixir-cloud-aai/cloud-registry-ui): show a verified badge, give ECP_CLN:ADMIN verify/unverify actions, and add a filter. Open a linked issue there, or do it in the same effort.
  3. Admins verify the network TES entries registered in Populate the Cloud Registry: owners register their own deployments, admins remove placeholder entries generic-issues#29. Verification means the backend accepts LS Login tokens with the ECP_CLN policy.

Acceptance criteria

  • Only ECP_CLN:ADMIN can toggle the flag, and changing a service's URL resets it.
  • The flag is visible in the API and UI and can be filtered on.

Dependencies: #62.


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 🚀

Activity

  1. added
    priority: low
    type: feature
    type: security
    workload: days
    ecp-wp4: M4.1
    on Oct 14, 2026
  2. uniqueg commented on Oct 20, 2026

    @uniqueg
    MemberAuthor

    Update after a design review (2026-10-20): this will be implemented before the redeploy, with these changes to the plan above:

    • The GA4GH endpoints stay unchanged: no verified field in GET /services responses and no filter parameter. We keep the GA4GH Service Registry endpoints exactly as specified until the next version of the spec; extra functionality goes into separate endpoints. Concretely:

      • PUT / DELETE /services/{serviceId}/verification: admins only;
      • GET /services/{serviceId}/verification: public; returns when the service was verified, or 404;
      • GET /verifications: public; lists the IDs of verified services with timestamps.

      proTES (feat: discover TES backends from the registry protes#202) gets the verified backends with two calls (GET /services, GET /verifications) and filters by type itself.

    • Admins are the users with the admin role (Cloud Registry backend: public read access, service ownership, ECP_CLN:ADMIN admin role #62); which group maps to it is deployment configuration.

    • The flag is reset when the URL or the API type of a service changes (the type also identifies a service, cf. feat: reject duplicate service registrations #102).

    • The UI part will be tracked in cloud-registry-ui.

  3. moved this from Ready to In progress in ELIXIR On-Cloudon Oct 20, 2026
  4. self-assigned this
    on Oct 20, 2026
  5. moved this from In progress to Done in ELIXIR On-Cloudon Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: M4.1priority: lowtype: featuretype: securityworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions