diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-08-16 15:09:15 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-04 21:40:30 +0200 |
commit | ff895abac081ffd53b9d1509565e9dfe923b6d60 (patch) | |
tree | c189db36916df556e2476ec38ea036d9a2346269 /build/integration/sharing_features/sharing-v1-part3.feature | |
parent | b1069b29fa7eacdaed8160e600f5a98b32e6784b (diff) | |
download | nextcloud-server-ff895abac081ffd53b9d1509565e9dfe923b6d60.tar.gz nextcloud-server-ff895abac081ffd53b9d1509565e9dfe923b6d60.zip |
Fix shares read permissions
A user with reshare permissions on a file is now able to get any share
of that file (just like the owner).
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'build/integration/sharing_features/sharing-v1-part3.feature')
-rw-r--r-- | build/integration/sharing_features/sharing-v1-part3.feature | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/sharing_features/sharing-v1-part3.feature b/build/integration/sharing_features/sharing-v1-part3.feature index 6c34534333a..4a02e89a671 100644 --- a/build/integration/sharing_features/sharing-v1-part3.feature +++ b/build/integration/sharing_features/sharing-v1-part3.feature @@ -398,8 +398,8 @@ Feature: sharing When As an "user1" And Updating last share with | permissions | 19 | - Then the OCS status code should be "404" - And the HTTP status code should be "200" + Then the OCS status code should be "403" + And the HTTP status code should be "401" Scenario: do not allow to increase link share permissions on reshare Given As an "admin" |