Renaming and adding new options for public link#34687
Conversation
06cc0de to
1127ef3
Compare
Codecov Report
@@ Coverage Diff @@
## master #34687 +/- ##
=============================================
- Coverage 65.28% 38.17% -27.11%
=============================================
Files 1210 48 -1162
Lines 69984 3282 -66702
Branches 1280 0 -1280
=============================================
- Hits 45688 1253 -44435
+ Misses 23924 2029 -21895
+ Partials 372 0 -372
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #34687 +/- ##
============================================
- Coverage 65.38% 65.38% -0.01%
- Complexity 18592 18593 +1
============================================
Files 1213 1213
Lines 70408 70410 +2
Branches 1295 1295
============================================
+ Hits 46036 46037 +1
- Misses 23998 23999 +1
Partials 374 374
Continue to review full report at Codecov.
|
1127ef3 to
1405298
Compare
c273808 to
18e4729
Compare
PVince81
left a comment
There was a problem hiding this comment.
Looks fine in general.
Please check behavior with local shares. If conflict dialog has the same issue then we should rather move the conflict dialog fix to a separate PR / topic.
1) Renaming View/Download/Upload to View/Download/Edit. 2) Adding new option View/Download/Upload. So if user wants to give provide all permissions, View/Download/Edit option could be opted. If the user wants to have an option where no edit and delete to be granted for link shared, the View/Download/Upload could be used. Signed-off-by: Sujith H <sharidasan@owncloud.com>
Adding acceptance test for new upload option added for creating public links. This new option would create public links which would help users to download, upload files or folders. Signed-off-by: Sujith H <sharidasan@owncloud.com>
18e4729 to
b9879c3
Compare
PVince81
left a comment
There was a problem hiding this comment.
if you retested this and still works then it's good to go 👍
|
@PVince81 Yes I have tested this and I have uploaded the screenshare in the PR template. |
|
@sharidas please backport |
|
Backport PR to stable10 #34983 |

So if user wants to give provide all permissions,
View/Download/Edit option could be opted. If the user
wants to have an option where no edit and delete to be
granted for link shared, the View/Download/Upload could
be used.
Signed-off-by: Sujith H sharidasan@owncloud.com
Description
This PR renames and adds an option in the public link share dialog. The
View/Download/Uploadis now renamed toView/Download/Edit. So if the user wants to create a link which would let others to create, edit, upload and delete in the public link thenView/Download/Editshould be selected.The new option
View/Download/Uploadhas lesser permission. When a public link with this option is created, the user could create folder(s), no delete option is available, no edit possible. By no edit option, I mean no re-write of the existing files. Say for example if there is a filea.txtalready available in the public link, and user tries to uplaod a filea.txt, the end result would be like this: the newly uploaded file would becomea (2).txt. The original filea.txtwould not be overwritten.Related Issue
Motivation and Context
View/Download/UploadtoView/Download/Editin the public link share creation dialog.View/Download/Uploadwith minimal permission. Removed edit and delete option.How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: