Edit user

Overview
Protected form for loading and updating a user identified by the route parameter.
- Route:
/users/:id/edit - Source:
front/src/pages/EditUser.tsx
APIs and data flow
- Loads entity choices and user information through
GET /entitiesandGET /users/:id. - Loads departments for the selected entity when applicable.
- Submits changes through
PUT /users/:id.
Exact form validation and backend response semantics are not available from frontend source code.
Source: front/src/pages/EditUser.tsx, front/src/services/api/userService.ts, front/src/services/api/entityService.ts.
See Users API and Entities API.