fix(supabase): V1-2.1 owner self-review grant and the text size measure

M6 option A: grant_catalog_right no longer refuses an owner granting
itself sheet_reviewer; authors stay refused at acknowledgment, approval
and publication. The document cap is the UTF-8 bytes of the JSON text:
check_document_structure drops pg_column_size and M5 replaces the base
table CHECK by octet_length(content::text). pgTAP 015 and 017 cover the
owner-reviewer journey and cap - 1, cap, cap + 1, multi-byte, dense.
This commit is contained in:
bchanot committed 2026-10-28 19:32:57 +01:00
1 parent 2af61e72cc
commit b1de87b5d0
6 files changed
+131 -34

No files matched your search

-1
View File
@@ -40,7 +40,6 @@ export const SHEET_FAILURE_KINDS = [
'grant.active',
'grant.ineligible',
'grant.revoked',
'grant.self_review',
'grant.target_invalid',
// drafts and saving
'draft_conflict',