Skip to content

Add product-scoped account deletion to UOA - #174

Merged
rafiki270 merged 1 commit into
mainfrom
feat/product-account-erasure
Nov 20, 2026
Merged

rafiki270 merged 1 commit into
mainfrom
feat/product-account-erasure

Conversation

@rafiki270

Copy link
Copy Markdown
Contributor

Summary

UOA Admin can register a deletion policy for each product and bind it to specific web domains, native apps and settings. The hosted form shows the scope before confirmation. Personal erasure removes the user's product data and revokes product access. Organisation-aware erasure preserves shared company records and offers a separate review for an eligible named team or organisation.

Backends poll for assigned work and acknowledge after cleanup. The receipt reports completion once all assigned systems finish. Fresh registration has a new generation so a backend can reject an old session or offline sync. Existing UOA-wide deletion requests keep their original scope.

Verification

  • Exercised the built form in Safari on dictator against a temporary PostgreSQL instance on Maxis, using a synthetic account and test mailbox. An incorrect code was rejected. The corrected code opened the preview. Confirmation returned a pending receipt that could be opened without signing in.
  • Checked registered-app configuration, a changed workspace review and the hosted deletion preview with desktop and mobile browser fixtures on Maxis.
  • Workspace build, lint and typecheck passed. OpenAPI validated with warnings. PostgreSQL passed all 11 deletion tests. The Auth and Admin suites passed 182 and 201 tests respectively. The API run passed 3,141 tests, skipped seven and exposed one outdated isolation-level assertion. Both affected billing suites passed on rerun (14 tests).
  • Product deployment still requires an app entry point, its data inventory and any external cleanup adapter. No production policy was enabled. Physical iPhone flows and Apple grant revocation remain product rollout checks.

Screenshots

View Before After
Admin Apps on desktop apps before desktop apps after desktop
Admin Apps on mobile apps before mobile apps after mobile
Hosted product review on desktop New product-specific confirmation screen product review desktop
Hosted product review on mobile New product-specific confirmation screen product review mobile

@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T10:47:20.164652Z 4c1f5c3 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.

@rafiki270
rafiki270 merged commit 9c31ced into main Nov 20, 2026
2 checks passed
@rafiki270
rafiki270 deleted the feat/product-account-erasure branch November 20, 2026 11:09
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