Skip to content

Add optional member portal with database-enforced account management - #10

Merged
hyscodebase merged 1 commit into
mainfrom
codex/member-portal
Nov 3, 2026
Merged

hyscodebase merged 1 commit into
mainfrom
codex/member-portal

Conversation

@hyscodebase

Copy link
Copy Markdown
Owner

Add a separate web portal for email authentication, profiles, administrator member status controls, deletion-request review, and audit history. Signup creates a least-privilege profile automatically. The existing CLI remains account-free and sends no snapshots or usage events to the portal; the web app is excluded from its npm package.

Authorization uses current database role/status and session checks, ownership RLS, column grants, and narrowly exposed RPC wrappers. There is no app service-role secret and user-editable metadata cannot grant administrator access. Add independent portal CI for build, type checks, origin/name tests, and 14 PostgreSQL authorization scenarios.

Validation: local production build, typecheck, 2 security tests and 14 real PostgreSQL scenarios passed. Applied the reviewed migration to a new dedicated Supabase project; all three tables have RLS and no anon read permission, security advisors reported no notices, and no real accounts were created. Browser checks cover the public pages and unauthenticated admin redirect. Hosted Auth/email E2E is still pending: external enrollment requires custom SMTP, Auth URL/password/template settings, a verified first administrator, and live signup/recovery checks. Deletion is a review request, not automatic permanent erasure.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T06:20:34.536221Z 7d353af PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hyscodebase
hyscodebase merged commit ad051ad into main Nov 3, 2026
11 checks passed
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