fleet/frontend/pages/admin
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
..
components Linux disk encryption: frontend changes, backend missing private key errors, remove disk encryption endpoints dependence on MDM being enabled (#23714) 2024-11-20 11:58:47 -08:00
IntegrationsPage Fleet UI: Fix user management page overflow (#25733) 2025-01-24 10:06:49 -05:00
OrgSettingsPage Small copy fix in Settings > Organization settings (#25772) 2025-01-24 18:52:58 -06:00
TeamManagementPage Require a password when changing a user from SSO to password-based authentication (#25843) 2025-01-30 09:32:11 -08:00
UserManagementPage Require a password when changing a user from SSO to password-based authentication (#25843) 2025-01-30 09:32:11 -08:00
_styles.scss Feat UI changes to controls page (#16379) 2024-01-26 18:41:35 +00:00
AdminWrapper.tests.tsx UI – Truncate long query results cells (#15079) 2023-11-10 13:31:11 -08:00
AdminWrapper.tsx Fleet UI: [bug fix] Selected organization tab styling (#13269) 2023-08-11 09:32:02 -04:00