Audit Log for Manual Edits #48

Open
opened 2026-02-25 19:45:07 +00:00 by Vylpes · 0 comments
Owner

Epic: #10


As a seller,
I want every manual edit to a listing or product to be recorded,
so that I can trace exactly when and what was changed.

Blocked by: STORY-2.2 (Edit a Product), STORY-3.4 (Inline Edit Available Quantity), STORY-3.5 (Inline Edit Fixed Price)

Acceptance criteria:

  • An audit log entry is created for every change to: listing quantity, listing price, product on-hand quantity, product fields
  • Each entry records: timestamp, entity type (listing/product), entity ID, field changed, old value, new value
  • Audit log is viewable by the user (read-only list, newest first)
  • Log entries cannot be deleted by the user

Subtasks:

  • Design audit_log database schema (timestamp, entity_type, entity_id, field, old_value, new_value)
  • Create audit log entry on every listing and product field change
  • Implement read-only audit log view (newest first, paginated)
  • Write automated tests (integration: edit triggers log entry with correct values)
  • Write/update documentation
Epic: #10 --- **As a** seller, **I want** every manual edit to a listing or product to be recorded, **so that** I can trace exactly when and what was changed. **Blocked by:** STORY-2.2 (Edit a Product), STORY-3.4 (Inline Edit Available Quantity), STORY-3.5 (Inline Edit Fixed Price) **Acceptance criteria:** - An audit log entry is created for every change to: listing quantity, listing price, product on-hand quantity, product fields - Each entry records: timestamp, entity type (listing/product), entity ID, field changed, old value, new value - Audit log is viewable by the user (read-only list, newest first) - Log entries cannot be deleted by the user **Subtasks:** - [ ] Design `audit_log` database schema (timestamp, entity_type, entity_id, field, old_value, new_value) - [ ] Create audit log entry on every listing and product field change - [ ] Implement read-only audit log view (newest first, paginated) - [ ] Write automated tests (integration: edit triggers log entry with correct values) - [ ] Write/update documentation
Vylpes added this to the (deleted) milestone 2026-02-25 19:45:07 +00:00
Vylpes modified the milestone from (deleted) to 1.0.0 2026-03-02 17:28:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RabbitLabs/droplet-next#48
No description provided.