You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scoped access token form pre-selects all actions when adding a resource #48175
bugSomething isn't workingexternal-issueCreated outside of SupabasefrontendRelated to Supabase Dashboardpr-openedA PR has been opened to resolve the issue
When creating a scoped Personal Access Token (Account → Access Tokens →
Generate token → scoped), adding a resource under Configure permissions
pre-selects all of that resource's actions (read, write, create, delete)
instead of a minimal default. The access dropdown shows "N selected" with every
checkbox ticked.
If the token is created without manually deselecting, it's granted every action
for that resource, more than a scoped, least-privilege token should default
to.
To Reproduce
Go to the Dashboard → Account → Access Tokens.
Click Generate token and choose the scoped option.
Under Configure permissions, open the resource picker and add a resource
that has more than one action.
Look at the added row's access dropdown.
Observed: the dropdown reads "N selected" and all action checkboxes are
checked.
Expected behavior
A newly added resource should default to a single least-privilege action, read when available, otherwise the first available action, leaving the user
to opt into anything more.
Screenshots
N/A : account/token pages are platform-only, so this reproduces on the hosted
dashboard (not self-hosted Studio).
System information
Dashboard: current master
Area: apps/studio : scoped access token creation form
Additional context
Root cause is in the add-resource handler, which seeds the new permission row
with the resource's full action list rather than a single default action.
#48011 - fix: scoped PAT creation form error messages are hidden [merged] #48176 - fix(studio): default scoped PAT permissions to read [open]
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
bugSomething isn't workingexternal-issueCreated outside of SupabasefrontendRelated to Supabase Dashboardpr-openedA PR has been opened to resolve the issue
Activity
coderabbitai commentedon Jul 22, 2026
🔗 Related PRs
#48011 - fix: scoped PAT creation form error messages are hidden [merged]
#48176 - fix(studio): default scoped PAT permissions to read [open]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
awaseem commentedon Jul 23, 2026
This isn't even out to users btw, its behind a flag since we're actively working on it...
Closing not relevant
dhruv2x commentedon Jul 23, 2026
I know it hasn’t been released to users yet, but could I ask what kind of fix we’re planning for this?