Summary
Production login/signup privacy onboarding is blocked by an orphan PostgreSQL role in Supabase project aqlcofblfxdrjhhdmarw.
Observed failures
42501 permission denied for table privacy_audit_events
42501 permission denied to set role "privacy_workflow_owner"
- Role:
privacy_workflow_owner (dashboard role ID 1788689)
- Supabase migration workflow run:
30651920259
- Support ticket:
SU-436093
Impact
The audited policy publication and onboarding RPCs cannot complete. Existing authenticated users without a current privacy eligibility receipt remain fail-closed, so login returns to the sign-in surface. New password and Google signup cannot finish audited onboarding.
Required provider action
Supabase must execute the exact manifest-bound G016 migration from protected main commit 58b758470f9d07a5968548c809ecd9118fbda262, or restore the minimum ownership authority required to execute it once. Terminal state must preserve privacy_workflow_owner as NOLOGIN, NOINHERIT, NOBYPASSRLS, with zero role membership in both directions.
Prohibited mitigations
- Do not delete or recreate the owner role.
- Do not disable or weaken RLS/FORCE RLS.
- Do not grant direct Data API access to retained privacy tables.
- Do not insert privacy/consent rows directly.
- Do not bypass auth eligibility in web code.
Execution plan
Code changes must converge all admission checks on the bounded live eligibility RPC receipt. The 16-account roster is classification-only: no age, guardian, policy, or marketing consent is fabricated. Ineligible accounts complete audited onboarding at next login.
Summary
Production login/signup privacy onboarding is blocked by an orphan PostgreSQL role in Supabase project
aqlcofblfxdrjhhdmarw.Observed failures
42501 permission denied for table privacy_audit_events42501 permission denied to set role "privacy_workflow_owner"privacy_workflow_owner(dashboard role ID1788689)30651920259SU-436093Impact
The audited policy publication and onboarding RPCs cannot complete. Existing authenticated users without a current privacy eligibility receipt remain fail-closed, so login returns to the sign-in surface. New password and Google signup cannot finish audited onboarding.
Required provider action
Supabase must execute the exact manifest-bound G016 migration from protected main commit
58b758470f9d07a5968548c809ecd9118fbda262, or restore the minimum ownership authority required to execute it once. Terminal state must preserveprivacy_workflow_ownerasNOLOGIN,NOINHERIT,NOBYPASSRLS, with zero role membership in both directions.Prohibited mitigations
Execution plan
Code changes must converge all admission checks on the bounded live eligibility RPC receipt. The 16-account roster is classification-only: no age, guardian, policy, or marketing consent is fabricated. Ineligible accounts complete audited onboarding at next login.