diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-14 13:54:25 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-14 13:54:25 +0100 |
commit | b27b690fa969638c7791bc465e9d07d9cadda6c5 (patch) | |
tree | b0ad9781577111ec0498939d23a8df57861e93f2 | |
parent | 965981486f6387887743dcfea9a5486de2c6604f (diff) | |
download | nextcloud-server-b27b690fa969638c7791bc465e9d07d9cadda6c5.tar.gz nextcloud-server-b27b690fa969638c7791bc465e9d07d9cadda6c5.zip |
Add intergration test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | build/integration/features/sharing-v1.feature | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index 07237ac7218..acfeb0e611f 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -971,3 +971,20 @@ Feature: sharing When Deleting last share Then etag of element "/" of user "user1" has changed And etag of element "/PARENT" of user "user0" has not changed + + Scenario: do not allow to increase link share permissions on reshare + Given As an "admin" + And user "admin" created a folder "/TMP" + And user "user0" exists + And creating a share with + | path | TMP | + | shareType | 0 | + | shareWith | user0 | + | permissions | 17 | + When As an "user0" + And creating a share with + | path | TMP | + | shareType | 3 | + And Updating last share with + | publicUpload | true | + Then the OCS status code should be "404" |