diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-20 18:56:58 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-20 18:56:58 +0200 |
| commit | 375ad7d0435a176ad593a32045a5f0182a36d505 (patch) | |
| tree | 87dc2e5c5398cd2f5c5008160d259e97749b4efa /docs | |
| parent | be50f1442148c21cabf039abdcae5fe20bc690e8 (diff) | |
| download | meshbay-375ad7d0435a176ad593a32045a5f0182a36d505.tar.gz | |
fix: removing someone who never redeemed their invitation
A member row appears only when a code is consumed, so revoking someone
invited to the wrong group was refused for having no row — and the node's
refusal aborted the browser's removal before its hub half, leaving them a
member everywhere with a live code. Revoking now cancels unredeemed codes
for that group, and a node refusal no longer cancels the hub removal.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/MESHBAY_DESIGN.md | 8 | ||||
| -rw-r--r-- | docs/USERGUIDE.md | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/docs/MESHBAY_DESIGN.md b/docs/MESHBAY_DESIGN.md index b9fdbdc..555d0f1 100644 --- a/docs/MESHBAY_DESIGN.md +++ b/docs/MESHBAY_DESIGN.md @@ -383,6 +383,14 @@ Four properties, each load-bearing: rotation propagates by itself and revocation actually takes effect. (Rotating the key after a revocation is still required — the ex-member holds the current one, and no protocol can take that back.) +5. **Revoking somebody cancels the code they have not redeemed yet**, for that + group and no other. There is no membership until a code is consumed, so an + invitation sent to the wrong person is the whole of their access, and a + removal that left it usable would be a removal in name only. It is also the + case removal is asked for most: an invitation is undone before it is + accepted, not after. Nothing to rotate then — they never held the key, and + `member_revoke` says so by returning no reminder rather than by leaving the + caller to work it out. Node authority is established the same way, once per node: `meshbay-node operator pair` prints a code, the operator types it into their own browser, and the node diff --git a/docs/USERGUIDE.md b/docs/USERGUIDE.md index 9f7cea7..4d87aef 100644 --- a/docs/USERGUIDE.md +++ b/docs/USERGUIDE.md @@ -570,6 +570,15 @@ keeps the old one, which opens nothing written from now on. Anything they already downloaded stays theirs. Once a file has been copied, no software can reach back and take it away. +Or the group's **Members** tab, from a paired browser: *Remove*. It does both +halves — the node stops serving them, and the hub stops letting them reach it. + +**Somebody you invited by mistake** is removed the same way, from either, and +it also cancels the code you sent them: until it is redeemed there is no +membership yet, only an invitation, and taking one back has to take back the +other. Nothing to rotate in that case — they never had the key, and neither +the command nor the interface will tell you to. + If you mistype the username, `member revoke` says so rather than quietly doing nothing. |