Skip to content

[Improvement][API] In non-PASSWORD authentication modes (LDAP, CASDOOR_SSO, OIDC), both the frontend and backend should hide user creation and password modification operations. #18383

Description

@njnu-seafish

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

When DolphinScheduler is configured with non-PASSWORD authentication modes (LDAP, CASDOOR_SSO, OIDC), there are several UI elements that should be disabled or hidden because user credentials are managed by external identity providers, not by DolphinScheduler itself.

Problem 1: Create User button is enabled

  • Location : User Management page ( /security/user-manage )
  • Issue : The "Create User" button is always enabled, but in non-PASSWORD modes, users should be created in the external identity provider (LDAP, OIDC, etc.), not in DolphinScheduler.
  • Expected : The "Create User" button should be disabled in non-PASSWORD authentication modes.

Problem 2: Reset Password button is enabled

  • Location : User Management page - operation column
  • Issue : Admin users can see and click the "Reset Password" button for any user, but password reset has no effect in non-PASSWORD modes since passwords are managed externally.
  • Expected : The "Reset Password" button should be disabled in non-PASSWORD authentication modes.

Problem 3: Username is editable when editing user

  • Location : User Management page - Edit User modal
  • Issue : When editing an existing user, the username field is fully editable. In non-PASSWORD modes, the username is the primary identifier used by the external identity provider and should not be changed from within DolphinScheduler.
  • Expected : The username field should be disabled (read-only) when editing a user in non-PASSWORD authentication modes.
Image

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

UIui and front end relatedbackendimprovementmake more easy to user or prompt friendly

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions