From 2dcb8a80ba6e9676a38eb5f529c1ce81f15080b5 Mon Sep 17 00:00:00 2001 From: Citali Date: Tue, 10 Feb 2026 12:53:44 +0100 Subject: [PATCH] docs(todo): mark auth routing baseline complete --- TODO.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index cb4dd0e..3470f13 100644 --- a/TODO.md +++ b/TODO.md @@ -39,8 +39,8 @@ This file is the single source of truth for roadmap and delivery progress. - [x] [P1] App Router + TypeScript + `src/` structure - [x] [P1] Shared DB access via `@cms/db` - [~] [P2] Base admin dashboard shell and roadmap page (`/todo`) -- [~] [P1] Authentication and session model (`admin`, `editor`, `manager`) -- [ ] [P1] Protected admin routes and session handling +- [x] [P1] Authentication and session model (`admin`, `editor`, `manager`) +- [x] [P1] Protected admin routes and session handling - [ ] [P1] Core admin IA (pages/media/users/commissions/settings) ### Public App @@ -181,6 +181,7 @@ This file is the single source of truth for roadmap and delivery progress. - [2026-02-10] `bun test` conflicts with Playwright-style test files; keep e2e files on `*.pw.ts` and run e2e via Playwright. - [2026-02-10] Linux Playwright runtime depends on host packages; browser setup may require `playwright install --with-deps`. - [2026-02-10] Better Auth Prisma schema generation is stable via dedicated config (`packages/db/prisma/better-auth.config.ts`) and generated schema snapshot (`packages/db/prisma/generated/better-auth.prisma`). +- [2026-02-10] Next.js 16 deprecates `middleware.ts` convention in favor of `proxy.ts`; admin route guard now lives at `apps/admin/src/proxy.ts`. ## How We Use This File