Skip to content

docs: add Data API access requirements to guides and SDK docs#1163

Closed
everettbu wants to merge 7 commits into
masterfrom
SaxonF/data-api-permissions
Closed

docs: add Data API access requirements to guides and SDK docs#1163
everettbu wants to merge 7 commits into
masterfrom
SaxonF/data-api-permissions

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of supabase/supabase#42473
Original author: SaxonF


I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Documentation update

What is the current behavior?

The API quickstart, creating routes guide, and SDK installing documentation do not mention that tables need Data API permissions granted before they can be accessed via the API.

What is the new behavior?

Updated the Data API quickstart and creating-routes guides to include steps for granting permissions via SQL GRANT statements and the table editor "Enable Data API Access" toggle. Added a new "Enable Data API access" section to all SDK installing documentation that explains the permission requirements.

Additional context

These changes support the rollout of updated Data API permission handling. The documentation wording is neutral to support both users with and without the default grant experiment enabled.

Update API quickstart and creating-routes guides to include steps for granting Data API permissions via SQL GRANT statements and the table editor toggle. Add a new "Enable Data API access" section to all SDK installing docs explaining the permission requirements.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@everettbu everettbu added the documentation Improvements or additions to documentation label Feb 5, 2026
SaxonF and others added 6 commits February 5, 2026 12:23
Update the shared quickstart_db_setup partial to include the grant statement
for enabling Data API access, and mention the toggle when using the Table Editor.
This update affects all framework quickstart guides (Next.js, React, Flutter, etc).

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Clarify that each client library uses the Data API to query and mutate
Postgres data, and fix toggle label to "Data API Access".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Include grant execute on function alongside table grants in the
Data API access section.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@everettbu

Copy link
Copy Markdown
Author

Upstream PR was closed or merged. Code is synced via branch mirror.

@everettbu everettbu closed this Feb 17, 2026
@everettbu everettbu deleted the SaxonF/data-api-permissions branch February 17, 2026 01:14
@everettbu everettbu restored the SaxonF/data-api-permissions branch February 17, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants