feat(supabase): M7 admin read RPCs for official sheets (V1-2.5 B)
list_official_sheets_admin and get_official_sheet_admin: badges, version and round states, named actors; capability holders at aal2, one answer for unknown or forbidden ids, no write path. pgTAP 022 (40); sandbox fresh and upgrade from M6: 1938 pass, types match.
This commit is contained in:
1 parent
78791bfb6b
commit
b0a4cbe588
4 files changed
+380
No files matched your search
@@ -259,12 +259,14 @@ const expectedFunctionArgs = {
|
||||
create_species: ['id', 'name_en', 'name_fr', 'sort_order'],
|
||||
create_sheet_working_copy: ['slug', 'source_version_id'],
|
||||
decide_sheet_review: ['approve', 'note', 'review_id'],
|
||||
get_official_sheet_admin: ['sheet_id'],
|
||||
get_sheet_asset_state: ['asset_id'],
|
||||
get_sheet_version: ['version_id'],
|
||||
grant_catalog_right: ['expires_at', 'kind', 'reason', 'user_id', 'verification_note'],
|
||||
list_catalog_grants: [],
|
||||
list_catalog_species: [],
|
||||
list_official_catalog: [],
|
||||
list_official_sheets_admin: [],
|
||||
lookup_catalog_account: ['email'],
|
||||
rename_species: ['id', 'name_en', 'name_fr'],
|
||||
revoke_catalog_right: ['grant_id', 'reason'],
|
||||
|
||||
Reference in new issue
Block a user