diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-26 12:49:12 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-26 12:49:12 +0300 |
commit | 62d7885c3b13d7d2acf33f80e91016a82cc8a7c0 (patch) | |
tree | ad5a60fea2bc3db8ed813f8b1e149d5a35b27009 /build | |
parent | e9237dd83ce50091274a52335846eb03f1694bb0 (diff) | |
parent | 8213d5df4f40410f851da31082bbb1fb8d84dd1e (diff) |
Merge pull request #22660 from owncloud/fix_22656
Do not allow sharing of the users root folder
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/sharing-v1.feature | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index e16de8b6b11..462915cf5ba 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -506,3 +506,11 @@ Feature: sharing And file "myfile.txt" of user "user0" is shared with user "user1" When User "user1" uploads file "data/textfile.txt" to "/myfile.txt" Then the HTTP status code should be "204" + + Scenario: Don't allow sharing of the root + Given user "user0" exists + And As an "user0" + When creating a share with + | path | / | + | shareType | 3 | + Then the OCS status code should be "403"
\ No newline at end of file |