Admin dashboard: page to browse/search trusted publishers

Abierto
#2,277 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java, react, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Java
Estrellas
2.1k
Forks
362
Merge medio
1 d 3 h
PR fusionados (30 d)
44

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-openvsx/openvsx

Todos los issues de eclipse-openvsx/openvsx

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.