From 96be7e168b626d7e9b7ce18fbab7b23002b9f0e9 Mon Sep 17 00:00:00 2001 From: Schalli Date: Wed, 29 Jul 2026 09:37:51 +0200 Subject: [PATCH] feat(260729-d3k): multi-line Base-DN textarea + reworked scope i18n - Base-DN admin field is now a multi-line textarea (one DN per line), value stays a single newline-separated string, no schema change - baseDnHint key added (de/en) explaining the Base-DN(s) sync scope - groupFilter.description/emptyMeansAll reworded: group filter is an optional extra restriction; empty selection means all users under the base DN(s) are synced (drops the old "nothing is synced" framing) Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/web/src/app/(portal)/admin/ldap/page.tsx | 9 +++++---- apps/web/src/messages/de.json | 5 +++-- apps/web/src/messages/en.json | 5 +++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/web/src/app/(portal)/admin/ldap/page.tsx b/apps/web/src/app/(portal)/admin/ldap/page.tsx index 7c3eeb5..bfe118c 100644 --- a/apps/web/src/app/(portal)/admin/ldap/page.tsx +++ b/apps/web/src/app/(portal)/admin/ldap/page.tsx @@ -463,14 +463,15 @@ export default function AdminLdapPage() { - setFormData({ ...formData, baseDn: e.target.value })} - placeholder="dc=example,dc=com" - className="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm" + placeholder={'dc=example,dc=com\nou=extern,dc=example,dc=com'} + rows={3} + className="flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm" required /> +

{t('baseDnHint')}