feat(02-04): LDAP admin UI with config, mapping editor, and sync trigger

This commit is contained in:
2026-06-19 08:40:29 +02:00
parent f928cd7713
commit 6e19591168
3 changed files with 594 additions and 1 deletions
@@ -171,6 +171,34 @@ export function Sidebar() {
</a>
</li>
)}
{/* LDAP link -- ADMIN and SUPER_ADMIN (D-18) */}
<li>
<a
href="/admin/ldap"
className="flex items-center gap-3 rounded-md px-2 py-2 text-sm text-sidebar-foreground hover:bg-muted transition-colors"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
className="shrink-0"
>
<path d="M12 2L2 7l10 5 10-5-10-5z" />
<path d="M2 17l10 5 10-5" />
<path d="M2 12l10 5 10-5" />
</svg>
{!isCollapsed && (
<span className="truncate">{t('ldap')}</span>
)}
</a>
</li>
</ul>
</div>
)}