diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-12-15 15:54:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-15 15:54:32 +0100 |
commit | 5b474e72d5636462d1aa9fed96b4aa77936b1a24 (patch) | |
tree | 8fc10b312e56f5e70ed6b5fbbe30ca006e60006a /build/integration | |
parent | 3714a6aaf0b565808bd1ec7f8552196447402f58 (diff) | |
parent | b8d44c21ca9b00cb50d85dcb7d812d3c5803b2cb (diff) | |
download | nextcloud-server-5b474e72d5636462d1aa9fed96b4aa77936b1a24.tar.gz nextcloud-server-5b474e72d5636462d1aa9fed96b4aa77936b1a24.zip |
Merge pull request #2673 from nextcloud/shared-scanner-unmasked
use unmasked permissions in shared scanner
Diffstat (limited to 'build/integration')
-rw-r--r-- | build/integration/features/webdav-related.feature | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index d90eb038e0b..658e689f54e 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -427,3 +427,23 @@ Feature: webdav-related And User "user0" uploads file with content "copytest" to "/copytest.txt" When User "user0" copies file "/copytest.txt" to "/testcopypermissionsNotAllowed/copytest.txt" Then the HTTP status code should be "403" + + Scenario: Uploading a file as recipient with limited permissions + Given using new dav path + And As an "admin" + And user "user0" exists + And user "user1" exists + And user "user0" has a quota of "10 MB" + And user "user1" has a quota of "10 MB" + And As an "user1" + And user "user1" created a folder "/testfolder" + And as "user1" creating a share with + | path | testfolder | + | shareType | 0 | + | permissions | 23 | + | shareWith | user0 | + And As an "user0" + And User "user0" uploads file "data/textfile.txt" to "/testfolder/asdf.txt" + And As an "user1" + When User "user1" deletes file "/testfolder/asdf.txt" + Then the HTTP status code should be "204" |