summaryrefslogtreecommitdiffstats
path: root/build/integration
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-01-10 10:03:08 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-01-15 09:21:53 +0100
commitfc77f530d7696e4272a9773f71a7cd181aa458d0 (patch)
treed9c59164675483c25e325944ea30a37cf10d94f5 /build/integration
parent0f238623f6fcbc6605580d79f9705eab9bfcdf5a (diff)
downloadnextcloud-server-fc77f530d7696e4272a9773f71a7cd181aa458d0.tar.gz
nextcloud-server-fc77f530d7696e4272a9773f71a7cd181aa458d0.zip
Don't show link shares hash in inherited share list
This adds no value at all. Just showing the text "(Shared link)" now. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'build/integration')
-rw-r--r--build/integration/sharing_features/sharing-v1.feature26
1 files changed, 4 insertions, 22 deletions
diff --git a/build/integration/sharing_features/sharing-v1.feature b/build/integration/sharing_features/sharing-v1.feature
index e70c98c5b66..ec0381c09cd 100644
--- a/build/integration/sharing_features/sharing-v1.feature
+++ b/build/integration/sharing_features/sharing-v1.feature
@@ -343,26 +343,8 @@ Feature: sharing
| permissions | 16 |
And As an "user1"
And accepting last share
-# And folder "first" of user "user0" is shared with user "user1"
-# And creating a share with
-# | path | /first/second |
-# | shareType | 0 |
-# | shareWith | user2 |
-# | permissions | 16 |
And folder "first/second" of user "user0" is shared with user "user2"
-# And As an "user1"
-# And creating a share with
-# | path | /first/test1.txt |
-# | shareType | 0 |
-# | shareWith | user3 |
-# | permissions | 8 |
And file "first/test1.txt" of user "user0" is shared with user "user3"
-# And As an "user2"
-# And creating a share with
-# | path | /second/test2.txt |
-# | shareType | 0 |
-# | shareWith | user3 |
-# | permissions | 8 |
And file "first/second/test2.txt" of user "user0" is shared with user "user3"
# get inherited shares from the owner PoV
And As an "user0"
@@ -372,14 +354,14 @@ Feature: sharing
And User "user0" should not be included in the response
And User "user1" should be included in the response
And User "user2" should be included in the response
- And User "user3" should be included in the response
+ And User "user3" should not be included in the response
When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/test1.txt"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And User "user0" should not be included in the response
And User "user1" should be included in the response
And User "user2" should not be included in the response
- And User "user3" should be included in the response
+ And User "user3" should not be included in the response
# get inherited shares from the a user with no shares rights
And As an "user2"
When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/test1.txt"
@@ -393,13 +375,13 @@ Feature: sharing
And User "user0" should not be included in the response
And User "user1" should not be included in the response
And User "user2" should be included in the response
- And User "user3" should be included in the response
+ And User "user3" should not be included in the response
When sending "GET" to "/apps/files_sharing/api/v1/shares/inherited?path=first/test1.txt"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And User "user0" should not be included in the response
And User "user1" should not be included in the response
And User "user2" should not be included in the response
- And User "user3" should be included in the response
+ And User "user3" should not be included in the response
# See sharing-v1-part2.feature