mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-26 07:37:54 +00:00
A sender a member blocked could still land items in that member's shared-with-me — and grant them real access — by sharing with a common team. The group grant is one row and cannot exclude a member, so the block is now enforced where delivery is derived per member: the permission scan, the inbound listing and its count, and the fs-event fan-out all skip team rows whose issuer the member blocked. Nothing is revoked, so unblocking restores everything. Blocking now also bumps the blocker's permission cache so it bites immediately. Direct shares keep their contract: existing ones stand. #unshareTeam swept re-shares by listing members with a 200 cap and never following the cursor, so members past the cap kept their orphaned rows. It now walks the share rows in the subtree — the set that can actually need sweeping — and filters those issuers to members, which has no cap by construction.