Could be you don't have RLS policies on the bucket...
# flutter
g
Could be you don't have RLS policies on the bucket or object table.
m
Shouldn't I be able to list all the files in a bucket with this configuration?
g
No. According to the docs you need object table read/select...
m
very interesting... I am making a frontend in flutter now for an app, and when i implemented some more stuff in the backend with NodeJS it worked without changing anything
i will try it now. Thank you!
yeah, that was it. Very silly of me to have missed that part in the docs. thank you
still no clue how I managed to use it in this state when working on the backend though :))
g
@mikeanth service role on the backend?
m
oh, could be, since i was using the storage-js not supabase-js