feat: restrict database management page to admin users only

This commit is contained in:
ff
2026-04-11 23:49:14 -04:00
parent 66a3d271f1
commit 4afffd7015
2 changed files with 2 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ function Router() {
<ProtectedRoute
path="/database-management"
component={() => <DatabaseManagementPage />}
adminOnly
/>
<ProtectedRoute path="/reports" component={() => <ReportsPage />} />
<ProtectedRoute path="/cloud-storage" component={() => <CloudStoragePage />} />