Profile pictures from Gravatar or the identity provider, fetched and kept by the server
Both sources are off until switched on under Settings, Sign-in. The server asks only gravatar.com (by a hash of the email) and the identity provider's own host, accepts only small PNG/JPEG/WebP/GIF, keeps each picture for a day and serves it from /api/avatars/<id>, so browsers never contact either. Shown in the user menu and on the Users page, with initials as the fallback; the Privacy page says when it is on. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9782bd3252
commit
c05c847d17
26 files changed
+4361
-21
No files matched your search
@@ -9,6 +9,7 @@ import { ErrorNotice } from "../components/Notice";
|
||||
import { SearchBox } from "../components/TableToolbar";
|
||||
import { useTableSearch } from "../hooks/useTableSearch";
|
||||
import { EmptyRow, LoadingRow } from "../components/EmptyState";
|
||||
import Avatar from "../components/Avatar";
|
||||
|
||||
const ROLES: UserRole[] = ["viewer", "operator", "admin"];
|
||||
|
||||
@@ -95,7 +96,12 @@ export default function Users() {
|
||||
<tbody>
|
||||
{sorted?.map((u) => (
|
||||
<tr key={u.id}>
|
||||
<td>{u.name ?? "—"}</td>
|
||||
<td>
|
||||
<span className="d-inline-flex align-items-center gap-2">
|
||||
<Avatar name={u.name ?? u.email ?? u.oidcSub} src={u.avatarUrl} />
|
||||
{u.name ?? "—"}
|
||||
</span>
|
||||
</td>
|
||||
<td>{u.email ?? "—"}</td>
|
||||
<td style={{ maxWidth: 160 }}>
|
||||
<select
|
||||
|
||||
Reference in new issue
Block a user