--- a/progress.txt +++ b/progress.txt @@ -1,29 +1 @@ -# Ralph Progress — User Invite Flow - -## US-001: Add invitations table to database -**Status:** PASSED -- Created migration 0047_add_invitations_table.sql -- Table created with all required columns -- Indexes on token (unique) and email added -- Typecheck passes - -## US-002: Create invitation server actions -**Status:** PASSED -- Implemented createInvitation, validateInvitation, acceptInvitation in src/server/actions/invitations.ts -- Token generation uses crypto.randomUUID() -- 72h expiry calculated from creation time -- Duplicate email guard within 24h window -- All 8 unit tests passing -- Typecheck passes - -## US-003: Build invite user form in admin panel -**Status:** PASSED -- Added InviteUserForm component to src/app/admin/users/ -- Role dropdown with admin, editor, viewer options -- Email validation with zod schema -- Success/error toast notifications working -- Verified in browser: form renders, submits correctly, toast appears - -## US-004: Add pending invitations list to admin users page -**Status:** IN PROGRESS -- Not yet started, blocked on finishing US-003 browser verification (now done) +# Ralph Progress — Admin Audit Log Export