-
- {/* SSO Only */}
- {settings.sso_configured && (
-
- )}
-
- {/* Embedding model change warning */}
- {embedModelChanged && (
-
Embedding Model
diff --git a/frontend/src/pages/SettingsPage.jsx b/frontend/src/pages/SettingsPage.jsx
index 5314993..4b64b2f 100644
--- a/frontend/src/pages/SettingsPage.jsx
+++ b/frontend/src/pages/SettingsPage.jsx
@@ -451,12 +451,9 @@ export default function SettingsPage() {
{ key: 'models', group: 'The site', icon: '🧠', label: 'AI models',
render: () =>
},
- { key: 'safety', group: 'The site', icon: '🛡️', label: 'Safety',
- render: () =>
},
{ key: 'search', group: 'The site', icon: '🔎', label: 'Search',
- render: () =>
},
+ render: () =>
},
] : []),
]
diff --git a/frontend/src/pages/SettingsPage.test.jsx b/frontend/src/pages/SettingsPage.test.jsx
index 78eee8a..c5a7a36 100644
--- a/frontend/src/pages/SettingsPage.test.jsx
+++ b/frontend/src/pages/SettingsPage.test.jsx
@@ -73,10 +73,14 @@ describe('settings', () => {
await screen.findByRole('heading', { name: 'Account' })
// The old page offered a grid of links, one of which went to /admin and
// its own row of tabs. These are sections of this page now.
- for (const label of ['People', 'AI models', 'Safety', 'Search']) {
+ for (const label of ['People', 'AI models', 'Search']) {
expect(screen.getByRole('button', { name: new RegExp(label) })).toBeInTheDocument()
}
expect(screen.queryByRole('link', { name: /Admin dashboard/ })).toBeNull()
+ // Safety held one thing: rolling back AI classification tag assignments.
+ // The classifier is gone, so the section had nothing left to be about, and
+ // permissions — the other thing it might have held — are on Access.
+ expect(screen.queryByRole('button', { name: /Safety/ })).toBeNull()
})
it('carries the exam objective, which was only reachable from the navbar', async () => {