Is this normal to have ```new row violates row-lev...
# help
o
Is this normal to have
Copy code
new row violates row-level security policy for table "buckets"
this error message, when I try to create bucket from "local development"? should I setup something? Could anyone give me some instruction how to use storage in local development? It seems like it doesn't have studio ui Thank you
n
Hello @oiojin831! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
If you use the service_key for the call if you are using the createBucket or equivalent API call it would bypass rls. Otherwise you need to set up RLS policies (which you will have to do to actually use the bucket with object policies later). This shows setting up RLS policies with SQL. https://supabase.com/docs/learn/auth-deep-dive/auth-row-level-security
n
oiojin831 (2022-04-14)
o
Thank you very much