diff --git a/frontend/src/components/settings/SettingsPage.tsx b/frontend/src/components/settings/SettingsPage.tsx index dbe9713..83a5c0f 100644 --- a/frontend/src/components/settings/SettingsPage.tsx +++ b/frontend/src/components/settings/SettingsPage.tsx @@ -5,7 +5,7 @@ import { useAuth, isSuperAdmin, isTenantAdmin } from '@/lib/auth' import { authApi } from '@/lib/api' import { getSMTPSettings, updateSMTPSettings, testSMTPSettings, clearWinboxSessions } from '@/lib/settingsApi' import { SMTP_PRESETS } from '@/lib/smtpPresets' -import { User, Shield, Info, Key, Lock, ChevronRight, Download, Trash2, AlertTriangle, Mail, Monitor } from 'lucide-react' +import { User, Shield, Info, Key, KeyRound, Lock, ChevronRight, Download, Trash2, AlertTriangle, Mail, Monitor } from 'lucide-react' import { Button } from '@/components/ui/button' import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog' import { Input } from '@/components/ui/input' @@ -150,6 +150,23 @@ export function SettingsPage() { )} + {/* Credential Profiles */} + {isTenantAdmin(user) && ( +
Manage shared credentials for RouterOS and SNMP devices
++ You need tenant admin or higher permissions to manage credential profiles. +
++ Select an organization from the sidebar to manage credential profiles. +
+