Dw Nextjs Admin Login
repo: ~/Projects/dw-nextjs-admin-login · 2 commits · 0 in last 24h, 0 in last 7d ·
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
e82caf0 · 2026-06-01 · v0.3.0: add config-driven capability layer (guest tiers + middleware gate)
Additive, opt-in. New exports: createCapabilityRegistry (admin + guest tiers,
scrypt constant-time multi-credential verify, username->capabilities) and
capabilityGate (authoritative per-request check: AI routes need canUseAI,
mutating methods need canWrite). Existing createAuth/createLoginHandler
unchanged, so the 4 not-yet-migrated apps are unaffected. 13/13 tests pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
File tree
8 files tracked. Click any to browse the source at HEAD.
rendered in 0ms