mirror of
https://github.com/supabase/supabase.git
synced 2026-12-05 16:09:06 +00:00
## What Storage settings showed "Reduced max upload file size limit due to spend cap" to every Pro org with spend cap on, telling them to disable it to get 500 GB uploads. The `storage.max_file_size` entitlement for Pro is already 500 GB regardless of spend cap, so the banner was wrong and confusing. - The banner now only shows when the entitlement returns a known value below 500 GB (it no longer relies on the 50 GB fallback). The check lives in `isFileSizeReducedBySpendCap` with unit tests. - When it does show, the banner states the current reduced limit (e.g. "Max upload file size limit reduced to 5 GB due to spend cap") instead of a generic message. Fixes FE-5063