Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

feat(security): open the Security tab group to extension contributions

Juan Denisa5e19ce6bf5c
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index ab7c963d..5b5aed01 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -425,9 +425,14 @@ function AppRoutes() {
<Route path="backups/:tab" element={<Backups />} />
</Route>
<Route path="cron" element={<CronJobs />} />
- <Route element={<TabGroupLayout tabs={SECURITY_TABS} />}>
+ {/* Security tab group. groupId="security" (plan 47 Phase 3a) lets
+ extracted security features (fail2ban, clamav, …) contribute
+ tabs + group-nested routes via their manifests, so they return
+ as tabs in the place users know. */}
+ <Route element={<TabGroupLayout tabs={SECURITY_TABS} groupId="security" />}>
<Route path="security" element={<Security />} />
<Route path="security/:tab" element={<Security />} />
+ {groupRoutes.security}
</Route>
{/* Email routes are gated by the Email module toggle
(Settings → Modules); disabled ⇒ redirect to the dashboard. */}