This repository was archived by the owner on Apr 21, 2026. It is now read-only.
Commit 44345d6
feat: Add "My Posts" page for authors to view their drafts
Authors (Editor/Admin role) can now see all their own blog posts —
including drafts, pending review, and published — at /blog/my-posts.
Previously, once an author saved a draft and navigated away, they had
no way to find it again without admin dashboard access.
- Add GET route blog/my-posts (before blog/[slug] catch-all)
- Add myPosts() action to BlogController with status filter tabs
- Add myPosts.cfm view with table, status badges, and empty state
- Add "My Posts" button on blog index for editors
- Validate statusFilter param against allowlist to prevent XSS
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 72ef9ff commit 44345d6
4 files changed
Lines changed: 1419 additions & 1259 deletions
File tree
- app
- controllers/web
- views/web/BlogController
- config
0 commit comments