-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
tests/acceptance/features/lib/FilesPageElement/SharingDialogElement/EditPublicLinkPopup.php
Outdated
Show resolved
Hide resolved
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 <[email protected]>
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 <[email protected]>
18e4729
to
b9879c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 [email protected]
Description
This PR renames and adds an option in the public link share dialog. The
View/Download/Upload
is 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/Edit
should be selected.The new option
View/Download/Upload
has 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.txt
already 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.txt
would not be overwritten.Related Issue
Motivation and Context
View/Download/Upload
toView/Download/Edit
in the public link share creation dialog.View/Download/Upload
with minimal permission. Removed edit and delete option.How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: