Replies: 6 comments 11 replies
This comment has been hidden.
This comment has been hidden.
-
If I have a migration file that does one of these now-prohibited things, and a subsequent migration that remediates this by moving the prohibited object to another schema, how will this interact with It seems like I'd have to go back and edit the old migrations, and then run a on-off manual script to apply the above |
Beta Was this translation helpful? Give feedback.
-
@soedirgo Perfect, I get no results now. (By the way, if you hide a comment, I can't reply to it.) |
Beta Was this translation helpful? Give feedback.
-
@soedirgo restricting on April 21, but today, when I login my project website (my project website using Supabase), it's return error. I change, add, detele user in Auth, it's return the same error
Are the above restrictions the reason for this issue? |
Beta Was this translation helpful? Give feedback.
-
I'm trying the remediations on a local dev server (to prepare a script to run on production) with the Supabase CLI v2.20.12. It is not letting me. I really just want to delete these debugging functions from my production server. My cli is linked to my cloud instance at Postgres image 15.8.1.054. I get the same errors when running on a cloud hosted instance.
The functions are already invisible to me for EDIT: I also tried locally using the How do I drop or move these functions? I'm at a loss as to what is preventing it. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to apply these restrictions earlier? We would want to test it on our test database before it is applied to the production database @soedirgo Thank you! |
Beta Was this translation helpful? Give feedback.
-
On April 21, we are restricting certain SQL actions you can perform in your database’s
auth
,storage
, andrealtime
schemas.Why Are We Making These Restrictions?
Supabase Auth, Storage, and Realtime services each rely on their respective schemas in order to function properly.
These restrictions prevent unintended side effects like third-party tooling and user defined changes altering schemas or their objects, such as migration tables and database functions, that could disrupt or break functionality.
What This Means for Your Project?
On April 21, you will no longer be able to perform the following actions on the
auth
,storage
, andrealtime
schemas:INSERT
,UPDATE
,DELETE
,TRUNCATE
) on the following migration tables:auth.schema_migrations
storage.migrations
realtime.schema_migrations
However, you will still have permissions to perform the following actions:
auth
,storage
, andrealtime
schemasauth.audit_log_entries
auth.identities
auth.refresh_tokens
auth.sessions
auth.users
storage.buckets
storage.migrations
storage.objects
storage.s3_multipart_uploads
storage.s3_multipart_uploads_parts
realtime.messages
How to Determine If You’re Affected?
auth
,storage
, andrealtime
schemas:auth
,storage
, andrealtime
schemas:If any of the above queries return a result, you must move them to either the
public
schema or a schema that you’ve created. Otherwise, they will be deleted.Beta Was this translation helpful? Give feedback.
All reactions