Admin dashboard: page to browse/search trusted publishers

Đang mở
#2,277 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, react, typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
2.1k
Fork
362
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-openvsx/openvsx

Tất cả issue của eclipse-openvsx/openvsx

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.