feat: unassign a face from its person in the detail viewer face dialog #835
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/face-unassign"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Removes the forced-reassignment dead end in the photo detail viewer's face dialog: an assigned face can now be DETACHED from its person without picking a replacement — the face becomes an unassigned detected face again, re-eligible for future suggestions.
POST /api/discovery/faces/{faceAnnotationId}/unassign(session auth, owner-scoped) —ClassInstanceService.unassignFacesets the face's accepted occurrence to state='removed' (the existing V074 occurrence lifecycle, provenance auditowner_unassigned_face_from_person), marks the owner dirty (recognition re-arms), returns the refreshed assignment view; 409 when nothing assigned, 403 foreign.Tests