[test-only] apiTest. user cannot find not shared data (#7206)

* test for 6000 issue

* Update apiSpaceSearch.feature
This commit is contained in:
Viktor Scharf
2023-09-05 10:07:54 +02:00
committed by GitHub
parent 7cb6cec92f
commit 09c733b264
@@ -136,3 +136,19 @@ Feature: Search
| /SubFolder1/subFOLDER2/insideTheFolder.txt |
But the search result of user "Brian" should not contain these entries:
| /folderMain |
@issue-enterprise-6000
Scenario: sharee cannot find resources that are not shared
Given user "Alice" has created a folder "foo/sharedToBrian" in space "Alice Hansen"
And user "Alice" has created a folder "sharedToCarol" in space "Alice Hansen"
And user "Alice" has created a share inside of space "Alice Hansen" with settings:
| path | foo |
| shareWith | Brian |
| role | viewer |
And user "Brian" has accepted share "/foo" offered by user "Alice"
When user "Brian" searches for "shared" using the WebDAV API
Then the HTTP status code should be "207"
And the search result of user "Brian" should contain these entries:
| /sharedToBrian |
But the search result of user "Brian" should not contain these entries:
| /sharedToCarol |