fleet/frontend/pages/admin/UserManagementPage/components
jacobshandling 8d9ca0eabf
Require a password when changing a user from SSO to password-based authentication (#25843)
## For #24754

- Backend:
- Return an error when a PATCH attempts to update a user's
authentication from SSO to password but doesn't include a password
  - Add checks to integration test.
- Frontend:
- Form error when attempting to switch a user who is currently
SSO-authed to password without a password
- Refactor upstream inherited errors to allow for disabling the form
submission button when errors are present
  - Other improvements to user form validation

**[UI
Demo](https://drive.google.com/file/d/1-BIzCpqu0zjYHf7zxiZL_7kVoE2sLwtx/view?usp=sharing)**
**[API
Demo](https://drive.google.com/file/d/19lQ7Pvfmq3MwEjHw0_r9IoxVuNaSNwGb/view?usp=sharing)**

<img width="994" alt="Screenshot 2025-01-28 at 3 38 11 PM"
src="https://github.com/user-attachments/assets/304f8def-2656-43f7-97e5-8be1fc679814"
/>

<img width="660" alt="Screenshot 2025-01-28 at 3 39 41 PM"
src="https://github.com/user-attachments/assets/77283520-b313-4743-96df-06c55e573496"
/>


- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated automated tests
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-01-30 09:32:11 -08:00
..
AddUserModal UI - Coordinate multiple error inputs to successfully display server errors as UserForm field errors (#25476) 2025-01-16 13:23:00 -08:00
DeleteUserModal Frontend tech debt: Cleanup {} around strings (#16592) 2024-02-23 09:57:18 -05:00
EditUserModal UI - Coordinate multiple error inputs to successfully display server errors as UserForm field errors (#25476) 2025-01-16 13:23:00 -08:00
ResetPasswordModal Fleet UI: Button loading spinners (#7124) 2022-08-29 08:21:37 -07:00
ResetSessionsModal Fleet UI: Button loading spinners (#7124) 2022-08-29 08:21:37 -07:00
SelectedTeamsForm Fleet UI: Dropdown always scrolled to view in userform (#24719) 2024-12-13 09:26:58 -05:00
SelectRoleForm Fleet UI: Dropdown always scrolled to view in userform (#24719) 2024-12-13 09:26:58 -05:00
UserForm Require a password when changing a user from SSO to password-based authentication (#25843) 2025-01-30 09:32:11 -08:00
UsersTable Require a password when changing a user from SSO to password-based authentication (#25843) 2025-01-30 09:32:11 -08:00