7f35297025
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1009 B
1009 B
id, title, status, date, parent
| id | title | status | date | parent |
|---|---|---|---|---|
| 5-3 | 5-3 Post Deletion | Done | 2026-09-27 | 5 |
Description
As an admin, I want to permanently delete posts, So that I can remove outdated or incorrect content from the website. Context: Integrates with: posts table; Technology: Livewire Volt; Follows pattern: Permanent delete pattern. Add delete button to the post edit form (from Story 5.1) when editing an existing post:. Full implementation history: docs/stories/story-5.3-post-deletion.md
Acceptance Criteria
- Delete button on post list (primary location)
- Delete button on post edit page (secondary location)
- Confirmation modal dialog before deletion
- Permanent deletion (no soft delete per PRD)
- Success message after deletion
- Redirect to post list after deletion from edit page
- Admin-only access (middleware protection)
- Audit log entry preserved
- Old values stored in log
- Clear warning in confirmation
- Bilingual messages
- Tests for deletion