diff options
| author | tv <tv@krebsco.de> | 2026-11-08 09:39:52 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-08 14:28:53 +0100 |
| commit | b08c0bfd3ffcfd39ef2689882fafafbc31f16ffd (patch) | |
| tree | a90ac35cd22a3d04c0c2b8f7d6ddb5d3f4b45b93 /src/remake/delta.rs | |
| parent | e959799c95b4d6e33f6b95d4c38a5386cc1dcf02 (diff) | |
access: forgetting and revoking as the API lets
Two writes the API lets a user make were refused by the rules:
* DELETE /peers/{pk}, with write on _continuum/forgotten alone, writes
the forget record and removes the member's entry in one change; the
rules wanted write on the entry. Removing an entry is now also taken
in a change forgetting that member, from a user who may forget it.
* DELETE /admin/users/{name}/tokens by a user who manages users writes
_continuum/logouts/<name>; the rules wanted write there. One who may
write _continuum/users may now write anyone's logouts entry.
Review finding 3 (DELETE /peers, revoking tokens).
Diffstat (limited to 'src/remake/delta.rs')
0 files changed, 0 insertions, 0 deletions
