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>
Showing
- apps/files_sharing/lib/Controller/ShareAPIController.php 21 additions, 5 deletionsapps/files_sharing/lib/Controller/ShareAPIController.php
- apps/files_sharing/tests/Controller/ShareAPIControllerTest.php 62 additions, 0 deletions...files_sharing/tests/Controller/ShareAPIControllerTest.php
- apps/oauth2/js/oauth2.js 0 additions, 0 deletionsapps/oauth2/js/oauth2.js
- apps/oauth2/js/oauth2.js.map 0 additions, 0 deletionsapps/oauth2/js/oauth2.js.map
- build/integration/sharing_features/sharing-v1-part2.feature 32 additions, 2 deletionsbuild/integration/sharing_features/sharing-v1-part2.feature
- build/integration/sharing_features/sharing-v1-part3.feature 2 additions, 2 deletionsbuild/integration/sharing_features/sharing-v1-part3.feature
Loading
Please register or sign in to comment