Skip to content

Fix safe account deletion - #5

Merged
regeloapp-coder merged 1 commit into
mainfrom
regeloapp-coder-supabase-mcp-setup
Oct 26, 2026
Merged

regeloapp-coder merged 1 commit into
mainfrom
regeloapp-coder-supabase-mcp-setup

Conversation

@regeloapp-coder

Copy link
Copy Markdown
Owner

Summary

  • Remove the client-side database fallback when account deletion through the Storage-cleaning Edge Function fails.
  • Fail closed when Storage folder traversal exceeds its depth limit.
  • Revoke direct execution of delete_own_account() for anon and authenticated, and add an RLS regression assertion.
  • Bump Android app version to 1.3.2 (versionCode 132) and document the backend deployment requirement.

Deployment

The 2026-10-26_app_v1_4_1.sql migration and updated delete-account Edge Function have already been applied to Supabase project pqmfezkvaslqedalwwnn. The deployed function rejects unauthenticated requests (HTTP 401 smoke test).

Validation

  • git diff --check passed.
  • Live RPC permission query confirms anon and authenticated cannot execute the deletion RPC.
  • Android unit tests could not be run locally because Java is unavailable; Deno is unavailable for a local Edge Function check.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@regeloapp-coder
regeloapp-coder merged commit a4350ec into main Oct 26, 2026
1 check 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