-
Notifications
You must be signed in to change notification settings - Fork 566
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
postgress migration error on vanilla setup #248
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PostgrestError: permission denied for view current_user_teams when intially signing up / logging in on a local version of the repo with local supabase. Possibly related to #185 as when i force go to /setup obviously I bypass the inbox / teams etc. routes and go through intial setup as expected.
Steps:
1 - start local supabase db via supabase cli using
supabase start
2 - update / add env vars
3 - update
config.toml
to include oAuth credentials / redirects4 - run
supabase db reset
to run migrations and seed script -- these appear to run without errors5 - run
bun dev
to test just dashboard part of the apps suite in/src/apps/dashboard
.6 - Go to localhost:3001/login to do oAuth flow
7- Auth flow works, user is redirected to localhost per config.toml as expected however page doesnt render due to the below error. This looks like one or more of the following migration sqls do not run even though the console screenshots above indicate otherwise. Specifically permissions on the current_user_teams view for the just authenticated user.
The text was updated successfully, but these errors were encountered: