Commit 57f823e
committed
fix(V2): stop deep recursion and forward unresolved fields in ownership check
DB-resolved parent records should return early at their own orgUid
rather than traversing the full transitive ownership graph. Also
forward unresolvedFields from the existing-record ownership check
to assertOwnerOrgUidsAreHome so missing parents are caught rather
than silently treated as ownership-OK.1 parent dd28d78 commit 57f823e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
334 | 335 | | |
335 | 336 | | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| 341 | + | |
340 | 342 | | |
341 | 343 | | |
342 | 344 | | |
| |||
0 commit comments