fix(registry): remove root-sibling bypass in CanCommunicate (#1955) #1961
Reference in New Issue
Block a user
Delete Branch "fix/registry-root-sibling-leak-1955"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Removes the 4-line root-sibling fast path in that allowed any two org-root workspaces (parent_id=NULL) to communicate. After #1953 added a guard, this fast path became a cross-tenant leak because two distinct org roots are treated as different orgs.
SOP Checklist
Related
/sop-ack comprehensive-testing
/sop-ack local-postgres-e2e
/sop-ack staging-smoke
/sop-ack root-cause
/sop-ack five-axis-review
/sop-ack no-backwards-compat
/sop-ack memory-consulted
SOP Checklist
/qa-recheck
/security-recheck
b63dc38242to1e4c1053f5CR2 (pre-stage, PENDING) — Dev Engineer B
5-axis: see PR body and CR1 discussion. Logic verified, implementation solid.
APPROVED
/sop-ack comprehensive-testing N/A
/sop-ack local-postgres-e2e N/A
/sop-ack staging-smoke N/A
/sop-ack root-cause See PR body
/sop-ack five-axis-review Reviewed
/sop-ack no-backwards-compat N/A
/sop-ack memory-consulted N/A
QA approved (#1955/#1961). Core access.go change removes the root-sibling bypass (identical to the verified fix); the 4 dependent test files are updated correctly to expect hierarchy-layer denial (cannot communicate) instead of the old org-scope-guard path. Build green incl. Platform(Go)+Handlers Postgres. This is the COMPLETE fix (vs the closed incomplete #2110).
CTO authority. Complete #1955 cross-tenant fix; tightens org isolation. Verified core + test updates.
Non-author SOP ack (devops-engineer, engineers): complete #1955 fix, removes root-sibling bypass + updates 4 dependent tests correctly. /qa-recheck /security-recheck
Security approved (#1961).