Skip to content
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

User permissions are too open #37

Open
jcoresongres opened this issue Apr 3, 2023 · 0 comments
Open

User permissions are too open #37

jcoresongres opened this issue Apr 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jcoresongres
Copy link

Bug report

Describe the bug

The permissions are too open. The supabase_admin user is a superuser and can do pretty much everything to the database.

When we're using an approach where the schema can be initialized by a superuser, there should be no need to have more permissions after the schema has been created (here by a script).

This should be restricted to an exhaustive list of permissions and what's required on Supabase's side. It should also be defined more clearly which users/roles are required from Supabase's side during runtime.

@jcoresongres jcoresongres added the bug Something isn't working label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant