feat(260728-lih): default LDAP create-form syncIntervalMin to 0 + reword copy

- New-config create form now defaults syncIntervalMin to 0 (matches
  backend default, auto-sync off by default)
- de+en groupFilter.description + emptyMeansAll reworded: empty
  selection now says "nothing is synced" instead of "imports everyone
  under the base DN" (matches the backend semantic change)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-28 15:42:10 +02:00
parent 57bc7f96b3
commit 63a07abb47
3 changed files with 5 additions and 5 deletions
@@ -84,7 +84,7 @@ export default function AdminLdapPage() {
bindDn: '', bindDn: '',
bindPassword: '', bindPassword: '',
searchFilter: '(objectClass=person)', searchFilter: '(objectClass=person)',
syncIntervalMin: 60, syncIntervalMin: 0,
isActive: true, isActive: true,
tlsRejectUnauthorized: true, tlsRejectUnauthorized: true,
}); });
+2 -2
View File
@@ -317,7 +317,7 @@
}, },
"groupFilter": { "groupFilter": {
"title": "Import-Filter (Gruppen/OUs)", "title": "Import-Filter (Gruppen/OUs)",
"description": "Beschraenkt den Sync auf ausgewaehlte AD-Gruppen oder Organisationseinheiten. Ohne Auswahl werden alle Benutzer unter der Basis-DN importiert.", "description": "Beschraenkt den Sync auf ausgewaehlte AD-Gruppen oder Organisationseinheiten. Ohne Auswahl wird nichts synchronisiert.",
"discover": "Gruppen/OUs suchen", "discover": "Gruppen/OUs suchen",
"typeOu": "OU", "typeOu": "OU",
"typeGroup": "Gruppe", "typeGroup": "Gruppe",
@@ -327,7 +327,7 @@
"manualDn": "DN manuell hinzufuegen", "manualDn": "DN manuell hinzufuegen",
"addDn": "Hinzufuegen", "addDn": "Hinzufuegen",
"selected": "Ausgewaehlt", "selected": "Ausgewaehlt",
"emptyMeansAll": "Keine Auswahl - importiert alle Benutzer unter der Basis-DN.", "emptyMeansAll": "Keine Auswahl - es wird nichts synchronisiert.",
"save": "Filter speichern" "save": "Filter speichern"
}, },
"userExclude": { "userExclude": {
+2 -2
View File
@@ -317,7 +317,7 @@
}, },
"groupFilter": { "groupFilter": {
"title": "Import filter (groups/OUs)", "title": "Import filter (groups/OUs)",
"description": "Restrict sync to selected AD groups or organizational units. With no selection, every user under the base DN is imported.", "description": "Restrict sync to selected AD groups or organizational units. With no selection, nothing is synced.",
"discover": "Discover groups/OUs", "discover": "Discover groups/OUs",
"typeOu": "OU", "typeOu": "OU",
"typeGroup": "Group", "typeGroup": "Group",
@@ -327,7 +327,7 @@
"manualDn": "Add DN manually", "manualDn": "Add DN manually",
"addDn": "Add", "addDn": "Add",
"selected": "Selected", "selected": "Selected",
"emptyMeansAll": "No selection - imports every user under the base DN.", "emptyMeansAll": "No selection - nothing is synced.",
"save": "Save filter" "save": "Save filter"
}, },
"userExclude": { "userExclude": {