Skip to content

fix(scope): make the DN/LDAP path editable in edition mode#58

Merged
fdaugan merged 1 commit into
feature/vuejsfrom
norman/fix-scope-dn-editable
Jun 9, 2026
Merged

fix(scope): make the DN/LDAP path editable in edition mode#58
fdaugan merged 1 commit into
feature/vuejsfrom
norman/fix-scope-dn-editable

Conversation

@Terracosmos

Copy link
Copy Markdown
Collaborator

Follow-up to #57. The previous patch kept the DN field read-only when editing an existing container scope.

In the issue comment, Fabrice clarified: "And this path should be editable". So the LDAP path must be editable in both create and edit mode, not only at creation.

This change removes the !!editTarget?.id part of the field's disabled binding (the field stays disabled only in read-only/view mode) and simplifies the validation rules so the path is always required.

The backend already allows updating ContainerScope.dn (no @Immutable on the field).

Closes #55.

Follow-up to #57. The previous patch kept the DN read-only when editing
an existing container scope. Per the issue comment 'And this path should
be editable', the LDAP path must be editable in both create and edit
mode. The backend already allows updating ContainerScope.dn (no
@immutable on the field).

Closes #55.
@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@fdaugan fdaugan merged commit 58fc55f into feature/vuejs Jun 9, 2026
4 of 5 checks passed
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