]> source.dussan.org Git - nextcloud-server.git/commit
Add integration tests for transferring ownership of reshares 22761/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 10 Sep 2020 02:28:57 +0000 (04:28 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 10 Sep 2020 02:34:33 +0000 (04:34 +0200)
commit58d57b35ea5c592b84e6d4f0b6e23d482b5a6579
tree9dfc7e0f2e247bc2b4fbd8c63dc4068c55d3c9f7
parent0ce8096839d919bdecbcdb09157d5647895fdc05
Add integration tests for transferring ownership of reshares

Currently only transferring ownership of a reshare with a group to a
user in the group is possible.

When transferring ownership of a reshare with another user or with a
group to a user not in the group restoring the share fails (but the
command succeeds, it only fails for the specific files that are
reshares).

When transferring ownership of a path that is a reshare the command
fails (as when a specific path is provided the path tries to move the
file, it does not take into account reshares).

The added integration tests reflect the above behaviours.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
build/integration/features/transfer-ownership.feature