https://supabase.com/ logo
```sql create policy insert_as_admin ON storage.bu...
# help
r
Copy code
sql
create policy insert_as_admin ON storage.buckets.id = 'hiking-picture'::text for all using (
(EXISTS ( SELECT 1
   FROM profiles
  WHERE ((profiles.admin IS TRUE) AND (profiles.id = 'b815-8e02-6c3f13e05026'::uuid))))
);
I have a syntax error ``Failed to validate sql query: syntax error at or near "="`` but i don't really see where it at
n
Hello @React noob! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! 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.
Thread was archived by @React noob. Anyone can send a message to unarchive it.