diff options
| author | tv <tv@krebsco.de> | 2026-11-08 19:01:55 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-08 20:02:29 +0100 |
| commit | a2056647b6351797880741ea7d845657877587ed (patch) | |
| tree | 7f4da0bed5d752cef87ddd9e20d8578ac5914e21 /scripts | |
| parent | fe19de5220071cd33294b700a9d4b6a10b634137 (diff) | |
store: a write inside a list checked where the rules judge it
Review 2, N9: the API checked a write's capability on the path asked
(servers/list/3/name), the rules on the list it is in (servers/list):
a user whose capability lay inside a list had every such write pass the
API and refused by the node's own judgement (403, after rolling the
document back).
inspect::placed places a write's path in the document by the rule the
inspector places operations by (Place::child: cut after the first list
or text on the way), and the store's writes check capabilities there.
One rule for both; a test checks placed against the paths the inspector
finds in the change such a write makes.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
