Allow admin users to view unpublished articles #24

Closed
opened 2026-06-27 15:11:49 -05:00 by erik · 2 comments
Owner

Implement support for authenticated users with admin access to view unpublished article drafts on slugkit.com.

Goal:

  • Admin/authenticated users should be able to open and preview unpublished articles before publishing.

Acceptance criteria:

  • Public anonymous users cannot view unpublished articles.
  • Authenticated users with admin access can view unpublished article detail pages.
  • Draft/unpublished state is clearly indicated in the UI.
  • Access control is enforced server-side, not only hidden in navigation.
  • Existing published article behavior remains unchanged.
  • Add or update tests where applicable.
Implement support for authenticated users with admin access to view unpublished article drafts on slugkit.com. Goal: - Admin/authenticated users should be able to open and preview unpublished articles before publishing. Acceptance criteria: - Public anonymous users cannot view unpublished articles. - Authenticated users with admin access can view unpublished article detail pages. - Draft/unpublished state is clearly indicated in the UI. - Access control is enforced server-side, not only hidden in navigation. - Existing published article behavior remains unchanged. - Add or update tests where applicable.
Author
Owner

Synced from todu comment by @todu on 2026-06-27T20:16:04.382Z

Close gate result

Readiness: READY

Evidence:

  • PR erik/slugkit.com#25 was reviewed and approved; review update recorded 6/6 acceptance criteria met with no blocking issues or warnings.
  • User reports PR erik/slugkit.com#25 was merged into main and local main was fast-forwarded.

Closing task.

_Synced from todu comment by @todu on 2026-06-27T20:16:04.382Z_ ### Close gate result Readiness: READY Evidence: - PR `erik/slugkit.com#25` was reviewed and approved; review update recorded 6/6 acceptance criteria met with no blocking issues or warnings. - User reports PR `erik/slugkit.com#25` was merged into `main` and local `main` was fast-forwarded. Closing task.
Author
Owner

Synced from todu comment by @todu on 2026-06-27T20:12:36.209Z

Review update

  • PR: erik/slugkit.com#25 is open and reviewed.
  • Result: approved.
  • Follow-up: waiting for explicit human merge approval.
  • Acceptance criteria: 6/6 met in review; no blocking issues or warnings.
_Synced from todu comment by @todu on 2026-06-27T20:12:36.209Z_ ### Review update - PR: `erik/slugkit.com#25` is open and reviewed. - Result: approved. - Follow-up: waiting for explicit human merge approval. - Acceptance criteria: 6/6 met in review; no blocking issues or warnings.
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
erik/slugkit.com#24
No description provided.