Skip to content

[ROMM-2186] Allow editing user without password field #2193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 6, 2025
Merged

Conversation

gantoine
Copy link
Member

@gantoine gantoine commented Aug 3, 2025

Description
Explain the changes or enhancements you are proposing with this pull request.

Fixes #2186

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Screenshots

Copy link

trunk-io bot commented Aug 3, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

@gantoine gantoine requested review from zurdi15 and Copilot August 3, 2025 01:36
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the ability to edit users without requiring a password field to be filled, addressing issue #2186. The main change allows administrators to edit user information while optionally updating the password.

  • Adds internationalization support for "edit-user" text and password placeholder text across all supported locales
  • Modifies the edit user dialog to make password field optional with helpful placeholder text
  • Updates the edit button in the users table to include a descriptive title

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

File Description
frontend/src/locales/*/settings.json Adds translations for "edit-user" and "password-placeholder" keys across all supported languages
frontend/src/components/Settings/Administration/Users/Table.vue Adds tooltip title to the edit user button
frontend/src/components/Settings/Administration/Users/Dialog/EditUser.vue Makes password field optional and adds dialog header with proper internationalization

@gantoine gantoine merged commit 76835a6 into master Aug 6, 2025
9 checks passed
@gantoine gantoine deleted the romm-2186 branch August 6, 2025 13:11
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.

[Bug] Cannot edit user role without changing existing user password
1 participant