feat(supabase): V1-2.3 M6 worker verification RPCs, service role only

This commit is contained in:
bchanot committed 2026-11-01 16:51:31 +01:00
1 parent 1593305875
commit 1cd4344363
5 files changed
+655 -2

No files matched your search

+2 -2
View File
@@ -241,8 +241,8 @@ select is(
(select string_agg(p.proname::text, ',' order by p.proname::text collate "C") from pg_proc p join pg_namespace n on n.oid = p.pronamespace
where n.nspname = 'public' and p.proname ~ '(sheet|species|catalog|platform_role)'
and has_function_privilege('service_role', p.oid, 'execute')),
'confirm_sheet_asset_upload,get_sheet_asset_state',
'service_role executes only the upload confirmation and the operator read (§5.4)');
'claim_sheet_verifications,complete_sheet_verification,confirm_sheet_asset_upload,fail_sheet_verification,get_sheet_asset_state,get_sheet_verification_input',
'service_role executes only the upload confirmation, the operator read and the M6 worker RPCs (§5.4, §6.4)');
-- ============ F14 and §5.6: every catalogue RPC refused without the right ============
select pg_temp.matrix('O', 'aal2', '42501 rights.capability');