Change feed never shows grantees the changes in folders shared with them #974

Closed
opened 2026-10-19 21:02:24 +00:00 by Cordy · 0 comments
Owner

Found in the batch 4 research (research-b4.md §7.5), from reading the code; not yet tested.

What happens: translate (internal/api/changes.go:139-145) drops /home/<other>/… and has no mapping to the grantee's /shared/<owner>/… view. A client syncing a folder that is shared with its user gets no feed entries for that folder.

Expected: a grantee's feed shows changes in the folders shared with them, at their /shared/… paths, limited to what the grant covers. Gaining or losing a grant follows the same rule as joining a space: existing content is not replayed.

To do: confirm with a test, then fix. Test on posix and s3, with a folder grant, a group grant and a read grant.

Found in the batch 4 research (`research-b4.md` §7.5), from reading the code; not yet tested. **What happens:** `translate` (`internal/api/changes.go:139-145`) drops `/home/<other>/…` and has no mapping to the grantee's `/shared/<owner>/…` view. A client syncing a folder that is shared with its user gets no feed entries for that folder. **Expected:** a grantee's feed shows changes in the folders shared with them, at their `/shared/…` paths, limited to what the grant covers. Gaining or losing a grant follows the same rule as joining a space: existing content is not replayed. **To do:** confirm with a test, then fix. Test on posix and s3, with a folder grant, a group grant and a read grant.
Cordy closed this issue 2026-10-27 03:15:02 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#974
No description provided.