diff options
author | Roeland Douma <rullzer@users.noreply.github.com> | 2016-04-14 12:50:27 +0300 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 15:27:51 +0300 |
commit | b6192c39d840c46631cb8e3f4ab69aec4b04a479 (patch) | |
tree | f3d440d1dd98c19d8611646e148e94906625b49a /build | |
parent | 3aaa33d9d405b826c599b4f1b6b8702ad1b62a77 (diff) |
On mount make sure multiple shares with same target map to unique ones (#23937)
Scenario:
user0 shares a folder 'foo' with user2
user1 shares a folder 'foo' with user2
user2 logs in
Before: show only the 'foo' from user1
After: show both.
* Added intergration tests
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/sharing-v1.feature | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index ba535e83aab..56399eefdb0 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -566,3 +566,16 @@ Feature: sharing | path | welcome.txt | | shareType | 3 | Then share ids should match + + Scenario: unique target names for incomming shares + Given user "user0" exists + And user "user1" exists + And user "user2" exists + And user "user0" created a folder "/foo" + And user "user1" created a folder "/foo" + When file "/foo" of user "user0" is shared with user "user2" + And file "/foo" of user "user1" is shared with user "user2" + Then user "user2" should see following elements + | /foo/ | + | /foo%20(2)/ | + |