Admin dashboard: page to browse/search trusted publishers

Aperta
#2,277 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
java, react, typescript

Direzione di ricerca

Follow the existing admin page+hook pattern in webui/src/pages/admin-dashboard/ (namespace-admin.tsx/use-namespace-admin.ts, publisher-admin.tsx/use-publisher-admin.ts) and wire the new page into admin-dashboard-routes.ts and the admin side panel. On the backend, extend TrustedPublisherRepository with a global list/search/paging query (today it only has per-extension/per-namespace lookups) and add an admin API analogous to TrustedPublishingAPI. Done means a read-only table of provider, extension/namespace, registration info, creator, and timestamp, without exposing claims.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement server webui

Problem

Trusted Publishing (TrustedPublisher entity, OIDC-based publish access) has no admin-facing way to browse or search configured trusted publishers across the whole registry. Today, lookups are scoped per-namespace/per-user only:

  • TrustedPublishingAPI only exposes user-scoped endpoints under /user/namespace/{namespace}/trusted-publishing/* (create, list, delete).
  • TrustedPublisherRepository only supports findTrustedPublishersByExtension, findByExtension_NamespaceAndCreatedBy, and findById — no global listing/search/paging query.

Admins currently have no way to see which extensions/namespaces have trusted publishers configured, which OIDC provider they use, or who created them, without going through the database directly.

Proposal

Add an admin dashboard page (webui/src/pages/admin-dashboard/) to browse and search all configured trusted publishers, following the existing page+hook pattern used by namespace-admin.tsx/use-namespace-admin.ts and publisher-admin.tsx/use-publisher-admin.ts, wired into admin-dashboard-routes.ts and the admin side panel nav.

This will need:

  • A backend admin API endpoint + repository query to list/search trusted publishers globally (e.g. by namespace, extension, provider, or creator), since no such query currently exists.
  • A new admin UI page with search/filter and a table listing provider, extension/namespace, registration info, creator, and creation timestamp (excluding the internal-only claims field, which is never exposed via toJson()).

Scope

  • List/search trusted publishers across all namespaces/extensions
  • Filter by provider, namespace/extension, or creator
  • Read-only browsing (revocation/deletion can stay in the existing namespace-scoped flow, or be a follow-up)

🤖 Generated with Claude Code

Lingua principale
Java
Stelle
2.1k
Fork
362
Merge medio
1g 3h
PR unite (30g)
44

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-openvsx/openvsx

Tutte le issue di eclipse-openvsx/openvsx

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.