From f6af6107c3fdb2ae3e17a78df2fe3dbfdecd44ca Mon Sep 17 00:00:00 2001 From: Popovici Marian Date: Thu, 2 Apr 2026 11:52:36 +0300 Subject: [PATCH] ide request access button for malware-blocked packages --- ui/frontend/src/pages/EventDetail.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/frontend/src/pages/EventDetail.tsx b/ui/frontend/src/pages/EventDetail.tsx index 896d8dde..780a79c3 100644 --- a/ui/frontend/src/pages/EventDetail.tsx +++ b/ui/frontend/src/pages/EventDetail.tsx @@ -159,8 +159,7 @@ export function EventDetail() { if (!event) return

Event not found.

; - // Access requests are currently permitted for all blocked events by default - const canRequest = true; + const canRequest = event.block_reason !== "malware"; const info = BLOCK_REASON_INFO[event.block_reason]; if (event.status === "request_approved") {