Skip to content

feat: add beta access operations#35

Merged
hollandkevint merged 3 commits into
mainfrom
feat/beta-access-sharing
Apr 29, 2026
Merged

feat: add beta access operations#35
hollandkevint merged 3 commits into
mainfrom
feat/beta-access-sharing

Conversation

@hollandkevint

Copy link
Copy Markdown
Owner

Summary

  • add admin beta access control center and service-role API routes for listing, approving, revoking, inviting, and Supabase readiness checks
  • align the protected app beta guard with Supabase-validated auth data, revocation-aware table fallback, and durable beta gate telemetry
  • route waitlist writes through a server API, harden the legacy public beta_access insert policy, and preserve invite/admin redirect flows through auth
  • add beta operations docs and focused coverage for guard, admin APIs, waitlist, readiness, telemetry, invite routing, and RLS migration assertions

Verification

  • npm run test:run -- tests/lib/auth/beta-access.test.ts tests/lib/beta/beta-events.test.ts tests/lib/beta/invite-destinations.test.ts tests/lib/beta/supabase-readiness.test.ts tests/lib/beta/beta-admin.test.ts tests/lib/supabase/admin.test.ts tests/lib/monitoring/beta-event-logger.test.ts tests/api/admin/beta-access.test.ts tests/api/admin/supabase-readiness.test.ts tests/api/beta/waitlist.test.ts tests/components/admin/BetaAccessControlCenter.test.tsx tests/components/guest/SignupPromptModal.test.tsx tests/integration/rls-policy-validation.test.ts
  • npm run lint -- app/login/page.tsx app/auth/callback/route.ts lib/auth/beta-access.ts lib/monitoring/beta-event-logger.ts lib/beta/invite-destinations.ts lib/beta/beta-admin.ts tests/lib/auth/beta-access.test.ts tests/lib/monitoring/beta-event-logger.test.ts tests/lib/beta/invite-destinations.test.ts tests/integration/rls-policy-validation.test.ts tests/lib/beta/beta-admin.test.ts tests/lib/supabase/admin.test.ts tests/api/admin/beta-access.test.ts
  • git diff --check -- focused touched files

Notes

  • Full build was previously blocked in sandbox by external Google Fonts DNS access.

hollandkevint and others added 2 commits April 7, 2026 15:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
thinkhaven Error Error Apr 29, 2026 0:50am

@supabase

supabase Bot commented Apr 29, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project lbnhfsocxbwhbvnfpjdw because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@hollandkevint hollandkevint merged commit 31a2abd into main Apr 29, 2026
4 of 6 checks passed
@hollandkevint hollandkevint deleted the feat/beta-access-sharing branch April 29, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant