forked from Yara724/api
Remove profile plate management and restrict personal profile updates
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Retirement of profile plate management
|
||||
|
||||
The saved-vehicle feature has been removed from user profiles in every flow (unversioned and V1–V6).
|
||||
|
||||
- `POST /user/profile/plate` and `DELETE /user/profile/plate/:id` are removed from routing and Swagger.
|
||||
- Profile GET/PATCH responses contain personal profile fields, without saved plates.
|
||||
- Profile PATCH accepts only `birthDay`, `gender`, `city`, `state`, and `address`. Plate arrays and MongoDB update operators are rejected before a database write.
|
||||
- The unused profile plate service, model registration, and saved-car detail pages have been removed.
|
||||
- Existing stored records are preserved. No migration or collection deletion is performed.
|
||||
- Case inquiry plate entry and the shared `AddPlateDto`/`PlatesDto` contracts remain available to the active case workflows.
|
||||
|
||||
Verification: the route contract excludes exactly the two retired profile routes. Profile regression tests cover omitted historical plates, blocked direct/operator updates, and preserved personal updates. The full API suite also covers inquiry and expert handoff workflows.
|
||||
Reference in New Issue
Block a user