fix(supabase): V1-2.1 close the second verifier and security findings

Save and submit lock the sheet before the version; change_note length and a
blank FR name answer closed codes; pgTAP for a capability refused to a
factorless account and the five remaining historical-sheet RPC refusals.
This commit is contained in:
bchanot committed 2026-10-28 18:44:00 +01:00
1 parent 4a829416c6
commit 961995804a
4 files changed
+47 -10

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ insert into auth.users (id,email,email_confirmed_at) values ('e0000000-0000-0000
insert into public.anatomical_catalog_grants (user_id,grant_kind,reason,granted_by)
values ('e0000000-0000-0000-0000-0000000000cc','catalog_reader','beta','e0000000-0000-0000-0000-000000000001');
-- A catalogue reader sees the published version and its drawing; not the grants.
-- A catalogue reader sees the published version (the grants table rules are in 018).
set local role authenticated;
select pg_temp.act('e0000000-0000-0000-0000-0000000000cc', gen_random_uuid());
select is((select count(*) from jsonb_array_elements(public.list_official_catalog()) e