The desktop client syncs the share jail via the Windows Cloud Files
API, which needs a 1:1 mapping between file id and path. Today a
resource can show up in the jail under more than one path:
- a share of /foo/bar next to a share of /foo becomes a second
mountpoint, so foo/bar/baz.txt is also reachable as bar/baz.txt
- a share from a project space the sharee is a member of shows up in
the jail although the resource is already reachable via the space
The new scenarios describe the behavior we want: the jail only lists
subtrees the user cannot reach otherwise, permissions follow the
effective grants on the node (Editor on bar allows writing
foo/bar/baz.txt even though foo was shared as Viewer), and the graph
sharedWithMe list keeps listing every share.
Both scenarios fail today and are listed as expected failures.
related: https://github.com/opencloud-eu/opencloud/issues/4055
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>