Repository navigation
Commit ede1fbd
committed
test(service-automation): the SecurityPlugin flip rig holds the Default Organization, the member's own
The rig composes the identity objects (so `sys_organization` is registered) and
no auth plugin, then runs a user-less system flow whose `create_record` is a
system insert into a tenant-scoped object: refused under ADR-0131 C1 (D9,
`no-organization`), a shape no production `single` boot reaches. The rig now
seeds the Default Organization as `org_1`, the member's organization, and the
NULL-born case pins the row's derived organization so the 403 is decided by the
stamp columns alone. The lean rig above (no organization object) is unchanged.
Claude-Session: https://claude.ai/code/session_01EUBvqtauTDmHi2ZgY759p2
Co-authored-by: Claude <noreply@anthropic.com>1 parent b7d0b34 commit ede1fbd
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
266 | 277 | | |
267 | 278 | | |
268 | 279 | | |
| |||
304 | 315 | | |
305 | 316 | | |
306 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
307 | 322 | | |
308 | 323 | | |
309 | 324 | | |
| |||
0 commit comments