Skip to content

chore: grant read/write on channels to API roles in REST migration#268

Merged
Tr00d merged 1 commit into
masterfrom
fix-test-suite-config
Jun 30, 2026
Merged

chore: grant read/write on channels to API roles in REST migration#268
Tr00d merged 1 commit into
masterfrom
fix-test-suite-config

Conversation

@Tr00d

@Tr00d Tr00d commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Tables created by the postgres role in the public schema no longer inherit INSERT/SELECT/UPDATE/DELETE for anon/authenticated/service_role under current Supabase CLI default privileges, so the Postgrest tests failed with "permission denied for table channels" (42501). Grant the privileges explicitly in the migration.

  Tables created by the `postgres` role in the `public` schema no longer inherit INSERT/SELECT/UPDATE/DELETE for anon/authenticated/service_role under current Supabase CLI default privileges, so the Postgrest tests failed with "permission denied for table channels" (42501). Grant the privileges explicitly in the migration.
@Tr00d Tr00d changed the title chore: grant DML on channels to API roles in REST migration chore: grant read/write on channels to API roles in REST migration Jun 30, 2026
@Tr00d Tr00d merged commit 8e3e903 into master Jun 30, 2026
1 check passed
@Tr00d Tr00d deleted the fix-test-suite-config branch June 30, 2026 12: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.

2 participants