fix(supabase): confirmed uploads gate asset reads (hash claim), seeds-listed test, Dockerfile workspace manifests; importer declares every authored label, real in=out control
This commit is contained in:
1 parent
bbfb8d6203
commit
dee4ce43d9
28 files changed
+511
-87
No files matched your search
@@ -315,5 +315,9 @@ Rules of the import:
|
||||
|
||||
Storage: bucket `anatomical-sheet-assets` (private, SVG only, 20 MiB cap),
|
||||
objects `<sha256>.svg`, read policy `anatomical_sheet_assets_read` through
|
||||
`private.can_read_sheet_asset_object` (published reference of a usable
|
||||
sheet, or editor); no API writes (operator upload, `SUPABASE.md` §3.1).
|
||||
`private.can_read_sheet_asset_object`: the asset row must be **confirmed**
|
||||
(`uploaded_at`, set only by `confirm_sheet_asset_upload` with the service
|
||||
role once the bytes are in the bucket) and either edited by the caller or
|
||||
referenced by a non-draft version of a usable sheet. A hash a user registers
|
||||
on their own sheet therefore opens nothing. No API writes (operator upload,
|
||||
`SUPABASE.md` §3.1).
|
||||
Reference in new issue
Block a user