-
-
Notifications
You must be signed in to change notification settings - Fork 141
fix: Fix logic when ret 8000 urning default roles #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The list of default/predefined roles can be checked here - I don't think we need to expose this in the response. |
Mmm yeah, I messed up a bit I think. |
No worries! We want to minimize Supabase-isms in pg-meta, so other users can benefit from it too.
By Supabase interface, do you mean the dashboard at https://app.supabase.com? If so, we can do this on the dashboard side. E.g. if you go to the Table Editor and click on the schema dropdown, you'll see that there are "protected schemas": We can do something similar for user-defined roles - we just dub Supabase internal roles "protected roles". |
@soedirgo yes I meant Supabase Dashboard. |
🎉 This PR is included in version 0.60.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* Bug fix returning default roles * refactor: replace DEFAULT_ROLES w/ prefix test * test: includeDefaultRoles --------- Co-authored-by: Bobbie Soedirgo <bobbie@soedirgo.dev>
What kind of change does this PR introduce?
Bug fix.
Fixes logic with
includeDefaultRoles
. Actually a breaking change.Maybe I should change
includeDefaultRoles
totrue
to not change the behavior?What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.