Repository navigation
Commit ea531f3
committed
fix(plugin-security): explain's read-absent rewrite reads the explained verb through the door's mapping, so a transfer of an unreadable row answers missing
The #21771 ruling-A rewrite was guarded on the raw explained verb (update or
delete). The door asks the read question of the by-id update and delete the
caller addresses, and a transfer's door is the PATCH that writes owner_id, an
update. The guard now reads rlsOperationForVerb, the one mapping step 2.7
reads, so a transfer of a row the caller cannot read is explained with the
missing-record shape the door's 404 is.
Claude-Session: https://claude.ai/code/session_01WYYhVJ78u7PhwFViWo1EmQ
Co-authored-by: Claude <noreply@anthropic.com>1 parent 76bc1e0 commit ea531f3
2 files changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
416 | 421 | | |
417 | 422 | | |
418 | 423 | | |
| |||
2250 | 2255 | | |
2251 | 2256 | | |
2252 | 2257 | | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
2253 | 2269 | | |
2254 | | - | |
| 2270 | + | |
2255 | 2271 | | |
2256 | 2272 | | |
2257 | 2273 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
0 commit comments