Storage with @Supabase — Course part 15

preview_player
Показать описание


—————————

—————————

💥 TOP VIDEOS EVER

⚙️ QUESTIONS?

• Theme that I use: VSCode Dark
• Snippets: my own, coming soon :)
Рекомендации по теме
Комментарии
Автор

Query for people is interested:

-- Enable row-level security
ALTER TABLE storage.objects ENABLE ROW LEVEL SECURITY;

-- Policy for SELECT operations
CREATE POLICY objects_select_policy ON storage.objects FOR SELECT
USING (auth.role() = 'authenticated');

-- Policy for INSERT operations WITH CHECK !
CREATE POLICY objects_insert_policy ON storage.objects FOR INSERT
WITH CHECK (auth.role() = 'authenticated');

-- Policy for UPDATE operations
CREATE POLICY objects_update_policy ON storage.objects FOR UPDATE
USING (auth.role() = 'authenticated');

-- Policy for DELETE operations
CREATE POLICY objects_delete_policy ON storage.objects FOR DELETE
USING (auth.role() = 'authenticated');

DiGiTaLShtX
Автор

I love your videos! You are concise yet clear. As a plus, your voice is relaxing to listen to. Keep up the great content!

masonnash
Автор

why does it seem like I cant loop through all items from my bucket in order to display them in my app

koketsomawasha
Автор

Flutterflow can be used with supabase and it asks to enable supabase's storage in the console of supabase. How should I do that ? I don't see any of this kind of setting in my supabase's console

GarageDeCaca
Автор

I get an error saying: new row violates row-level security policy. even though i set up supabase authentication, does anyone know why?

neoswann
Автор

How can I perform the same action while using prisma as my ORM for supabase

malikmuhiz
Автор

Hi, can I ask if I cant use supabase storage if I am not using their auth service? I have a super customized application that implements customized authentication manually

jerbparagas
Автор

Hello, thanks to you for the video. But i have tried everything to enable RLS for the storage.objects but when i go to the authentication and then schema objects they seem locked instead of RLS. I couldnt find any other solution . Could you please help?

WonderCoder
Автор

Hi everyone, i'm currently stucking from subase storage.
actualy, i'm trying to upload some file into bucket from vuejs app. but i get ssage below : statusCode: '404', error: 'Bucket not found', message: 'Bucket not found'}
error: "Bucket not found"
message: "Bucket not found"
statusCode: "404"

I already added RLS for objects and buckts but nothing have been changed

does anyone can help to go throug with this issue

saidoubarry
Автор

@codewithguillaume i have a question.We defined RLS as authenticated for also delete, is it means that a authenticated user able to delete another user profile image from storage?

defoldmaster
Автор

How can I make a file/image url static. I mean if I change/replace a file it should be static url

Sorry if my terminology is bad. I am new to this

Violethood
Автор

where the code for the avatar component? i like your design better than mine

smashrockmediainc
Автор

I tried to upload a webp file in my flutterflow application to supabase storage it told me: "Invalid file format: image/webp".
However when I try:
- Upload the webp image in the flutterflow or supabase console it works.
- Upload other formats like jpeg, png it works
- Upload other webp files it doesn't work.
- Display these webp images in an image editing application: it works
Why?

MounirNYEF
Автор

Thanks for your videos, could be great if you make a video about different environment, production/staging! Thank again😊

d-sb
Автор

Can I put the entire frontend in Vercel and the complete backend part including Db in the Supabase? Is it good practice?

codelucky
Автор

You covered the upload, but how about retrieving it from the storage and displaying it

tareksellami
Автор

should i use upsert to simplify the update process?

nhgehxr
Автор

15 ans que je vis à l'étranger, j'ai l'impression de m'entendre quand je parle en Anglais (ce qui est le cas dans (95% des cas) :) Plus sérieusement, dans mon apprentissage perso du dev, (react, nextjs, nodejs, sql...) ce que j arrive le moins à trouver sur internet, c est de creer un CRUD de (react ou nextjs) vers un storage image (bien sur, pas en blob). J'espére que Supabase va m'aider vue que c est la même plateforme qui gére les deux (database et storage)

johannschgup
join shbcf.ru