supabase-grants-lint
github.com/guptaaman678/supabase-grants-lint- Category
- Developer Tools
- Rank
- No. 2300Tools index
Previous survey · No. 2192 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Software Testing & Quality
- GitHub
- 1 stars
- Latest release
- v0.3.2
- Date
About
supabase-grants-lint checks Supabase migrations for tables that the Data API will not be able to reach once Supabase's automatic grants end on 2026-10-30. Catching missing grants in migrations lets teams fix them before affected tables become inaccessible. It is available as a GitHub Action and is not affiliated with Supabase.
At a glance
supabase-grants-lint checks SQL migrations for missing database grants that can make a table unreachable through the Data API. It is worth a pass before shipping if an existing database works but a fresh migration replay may give roles different privileges.
Good fit
Supabase teams that recreate environments from migrations and want to catch grant drift before an API request fails.
Consider something else when
Use a separate review for row-level policies or application authorization. Those decide which rows or actions a user should reach.
Start here
Run the file-only check against a disposable copy of the migrations. Pick one flagged table, compare its intended roles with the suggested SQL, and verify the narrowest grant in a fresh local database.
Cost and requirements
The MIT-licensed CLI documents Node 22 or newer. The file check needs no database connection, and the separate live comparison is opt-in.
Limits to know
Check historical default privileges as well as explicit grants. A baseline can restore automatic grants and make a fresh environment behave differently from production.
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.