Files
opencloud/tests/acceptance
Jörn Friedrich Dreyer bab59deb71 test(acceptance): cover resources reachable via several share jail paths
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>
2026-11-18 13:08:45 +01:00
..
2026-07-28 13:44:28 +02:00