feat: restrict database management page to admin users only
This commit is contained in:
@@ -52,6 +52,7 @@ function Router() {
|
||||
<ProtectedRoute
|
||||
path="/database-management"
|
||||
component={() => <DatabaseManagementPage />}
|
||||
adminOnly
|
||||
/>
|
||||
<ProtectedRoute path="/reports" component={() => <ReportsPage />} />
|
||||
<ProtectedRoute path="/cloud-storage" component={() => <CloudStoragePage />} />
|
||||
|
||||
Reference in New Issue
Block a user