1
Size storage helper function
Source: supabase/supabase#18124 · opened by @sebmor
I think it would be useful to allow us to set all the possible settings we can configure on a bucket via the dashboard, through a SQL policy.
We can do it to make a bucket public, and we can do it to restrict the file extensions through storage.extension(). The only thing we cannot do is the file size. It would make total sense to have a helper function called storage.size() or something.
This way we can complete the whole bucket policy via sql instead of having to manually set it on the dashboard.
We can do it to make a bucket public, and we can do it to restrict the file extensions through storage.extension(). The only thing we cannot do is the file size. It would make total sense to have a helper function called storage.size() or something.
This way we can complete the whole bucket policy via sql instead of having to manually set it on the dashboard.
No pledges yet. Be the first to back this.
Comments
Similar requests
Add Storage Adapter For Chrome.Local.Storage Api
3 votes · 0 comments
Add schema-aware Functions, Args, and Returns helper types to generated Supabase TypeScript types
1 vote · 0 comments
Add Storage Backups in Sync with Database Backups
4 votes · 0 comments
# Proposal: Virtual Storage Columns (Seamless DB-to-Storage Mapping)
1 vote · 0 comments
Storage: Upload to Bucket from Url
6 votes · 0 comments
No comments yet.