]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add intergration test 2100/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 14 Nov 2016 12:54:25 +0000 (13:54 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 14 Nov 2016 12:54:25 +0000 (13:54 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
build/integration/features/sharing-v1.feature

index 07237ac7218b649dbbb57427ff945a18d19f14af..acfeb0e611ffa0a11a9dc074a1605f264dd79914 100644 (file)
@@ -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"