KB-141D
Codex FIX7 Critical Review - Owner ACL Snapshot
1 min read Revision 1
fix7codexcritical-reviewaclowner
06 - Owner / ACL Snapshot
Verdict
CHECK_F_OWNER_ACL_NEEDS_T1_FIX
The snapshot is improved but not complete enough for exact privilege restoration and bypass proof.
Required T1 fixes:
- Include column ACLs from
pg_attribute.attacl. Table-levelrelacldoes not represent all column-level grants. - Prove effective privileges, not only direct ACL rows. G-NOLEGACY/G-OWNER-CUTOVER must account for role membership and inherited privileges using PG-native effective-privilege checks.
- Capture object identity exactly: schema, kind/prokind, identity arguments, OID-at-capture, owner, ACL grantor/grantee/grantable, and snapshot hash/epoch.
- State whether role membership is unchanged; if any package changes it, snapshot and restore it explicitly.
- Rehearsal must compare restored effective privilege sets in both directions, not only raw ACL equality.
No owner/ACL cutover is authorized.