From 006df9dff9b37bfda248b9c873e9fe828d0801e7 Mon Sep 17 00:00:00 2001 From: Mondo Diaz Date: Fri, 30 Jan 2026 11:54:02 -0600 Subject: [PATCH] Hide Settings and New Package buttons for system projects System projects should be system-controlled only. Users should not be able to create packages or change settings on system cache projects. --- frontend/src/pages/ProjectPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/ProjectPage.tsx b/frontend/src/pages/ProjectPage.tsx index d28b4d9..6e72ecb 100644 --- a/frontend/src/pages/ProjectPage.tsx +++ b/frontend/src/pages/ProjectPage.tsx @@ -214,7 +214,7 @@ function ProjectPage() {
- {canAdmin && !project.team_id && ( + {canAdmin && !project.team_id && !project.is_system && ( )} - {canWrite ? ( + {canWrite && !project.is_system ? ( - ) : user ? ( + ) : user && !project.is_system ? ( Read-only access