File tree Expand file tree Collapse file tree
build/integration/sharing_features Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,36 @@ Feature: sharing
2323 And User "user2" should be included in the response
2424 And User "user3" should not be included in the response
2525
26+ Scenario : getting all shares of a file with reshares with link share with less permissions
27+ Given user "user0" exists
28+ And user "user1" exists
29+ When as "user0" creating a share with
30+ | path | textfile0 .txt |
31+ | shareType | 0 |
32+ | shareWith | user1 |
33+ | permissions | 17 |
34+ Then the OCS status code should be "100"
35+ And the HTTP status code should be "200"
36+ When as "user0" creating a share with
37+ | path | textfile0 .txt |
38+ | shareType | 3 |
39+ | permissions | 19 |
40+ Then the OCS status code should be "100"
41+ And the HTTP status code should be "200"
42+ And last link share can be downloaded
43+ When As an "user1"
44+ And sending "GET" to "/apps/files_sharing/api/v1/shares?reshares=true&path=textfile0 (2).txt"
45+ Then the OCS status code should be "100"
46+ And the HTTP status code should be "200"
47+ And User "user1" should not be included in the response
48+ Then the list of returned shares has 1 shares
49+ And share 0 is returned with
50+ | share_type | 3 |
51+ | uid_owner | user0 |
52+ | token | |
53+ | url | |
54+ | permissions | 19 |
55+
2656 Scenario : getting all shares of a file with a received share after revoking the resharing rights
2757 Given user "user0" exists
2858 And user "user1" exists
You can’t perform that action at this time.
0 commit comments