mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
## 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>
4 lines
306 B
Text
4 lines
306 B
Text
- Update user form validation to require a password be present when switching a user from
|
|
SSO to password authentication
|
|
- Refactor upstream error logic to allow disabling submit button when form errors are present
|
|
- Add similar check for password presence on server, update integration test accordingly
|