A creator another owner removes stops paying even if an agent of theirs stays (#1002) #30
Loading…
Reference in a new issue
No description provided.
Delete branch "board/1002-1e589c"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Board #1002. Stacked on #26 (#998), which is stacked on #18 (#979): base is
board/998-ec2a75; retarget once those merge.With an honest server, alice creates a vault, adds her agent and bob as an owner, and bob removes alice. Until now payment moved off the creator only when neither she nor any agent of hers was still listed, so alice kept paying for a vault her device can no longer fetch (and, since #998, sync tells her not to leave it).
Now a roster change that takes the creator's own account out moves payment to the signer (their owner, for an agent), even if an agent of hers stays. Payment moves on that transition only: a creator listed only through an agent of theirs (a vault handed to
bob-bot) keeps paying when another owner changes the roster without removing anyone of theirs, as before.Quota (#979) is unchanged: removing the creator and adding someone in one change needs room in the signer's account (507 otherwise); removing her alone works even when the signer is full, as for a full removal before.
Tests (
client/src/tests.rsnobody_is_stuck_paying_for_a_vault): bob removes alice keepingalice-bot→ bob pays, alice'spaidno longer lists it and her sync names nothing; full bob removing + adding → 507, removing alone → ok; a vault bob pays throughbob-botonly stays his when carol adds a reader. DESIGN quota and "Leaving" text updated.🤖 Generated with Claude Code