Browse Source
The member permissions object could not be written back. The read shape emits permissions null for anyone who is not a manage-all member, but the write models declared a plain map with serde(default), which only covers a missing field: an explicit null failed to deserialize and the request was rejected before the handler ran. Reading a member and sending it straight back therefore failed for every member except the manage-all case the previous test covered. The field is optional now, and the smoke test round-trips a plain member as well. Reinvite was the one member write that could still reach an owner, and it can change an owner from invited to accepted, so it takes the same guard as the rest. Group updates log before mutating, so a failure part way through the collection associations cannot leave an unaudited change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>pull/7569/head
2 changed files with 20 additions and 7 deletions
Loading…
Reference in new issue