Skip to content

feat(scope): show the DN/LDAP path field in the creation dialog#57

Merged
fdaugan merged 1 commit into
feature/vuejsfrom
norman/feat-scope-dn-input
Jun 8, 2026
Merged

feat(scope): show the DN/LDAP path field in the creation dialog#57
fdaugan merged 1 commit into
feature/vuejsfrom
norman/feat-scope-dn-input

Conversation

@Terracosmos

Copy link
Copy Markdown
Collaborator

Surfaces the LDAP Path/DN field in the container scope creation dialog, mirroring what edition mode already exposes.

Context

On /id/scope, the "New scope" dialog only exposed the Name field. The DN/LDAP Path — shown (read-only) in edition mode — was missing on create, although the backend requires it (ContainerScope.dn is @NotNull @NotBlank @DistinguishName).

Changes

  • DN field is now always visible: editable + required on create, read-only (disabled) on edit (unchanged behaviour).
  • save() payload now carries dn for both create and update — this also fixes update, which previously sent dn=null and would fail backend validation.
  • Reuses the existing containerScope.dn and common.required i18n keys; no new keys.

Test

Validated at runtime against a live backend: the LDAP Path field shows in the creation dialog, is editable, and is required (blocks empty submit).

Closes #55.

The container scope creation dialog only exposed the Name field while
the edition dialog showed the LDAP Path / DN. Adds the same field to
the creation mode so administrators can set the DN at creation time
rather than having to edit immediately after. The field is required on
create (backend ContainerScope.dn is @NotNull/@notblank) and the save
payload now carries the dn for both create and update.

Closes #55.
@fdaugan fdaugan closed this Jun 8, 2026
@fdaugan fdaugan reopened this Jun 8, 2026
@fdaugan fdaugan merged commit c3da120 into feature/vuejs Jun 8, 2026
4 of 6 checks passed
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@fdaugan

fdaugan commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

The path is still not editable
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants