[10.2.0] Backport of Fix permission and update behaviour for public link#35197
Merged
PVince81 merged 1 commit intorelease-10.2.0from May 10, 2019
Merged
Conversation
Contributor
Author
|
Original PR: #35194 |
21 tasks
Remove update permission for Download/View/Upload option for public link. And hence the behaviour of public links created using this option has changed. 1. User cannot delete the files/folders inside this public link. 2. User cannot update the files which are already present in the public link 3. User cannot rename files. Signed-off-by: Sujith H <sharidasan@owncloud.com>
3aac394 to
d588b4a
Compare
Codecov Report
@@ Coverage Diff @@
## release-10.2.0 #35197 +/- ##
====================================================
- Coverage 64.39% 64.39% -0.01%
- Complexity 20048 20049 +1
====================================================
Files 1285 1285
Lines 76841 76842 +1
Branches 1308 1308
====================================================
Hits 49480 49480
- Misses 26977 26978 +1
Partials 384 384
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## release-10.2.0 #35197 +/- ##
====================================================
- Coverage 64.39% 64.39% -0.01%
- Complexity 20048 20049 +1
====================================================
Files 1285 1285
Lines 76841 76842 +1
Branches 1308 1308
====================================================
Hits 49480 49480
- Misses 26977 26978 +1
Partials 384 384
Continue to review full report at Codecov.
|
Contributor
|
Set milestone to QA to reflect that this belonged to the release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove update permission for Download/View/Upload
option for public link. And hence the behaviour of
public links created using this option has changed.
in the public link
Signed-off-by: Sujith H sharidasan@owncloud.com
Description
This PR addresses the changes below:
When user selects the
Download / View / Uploadoption to create public link, the update permission for the link is no longer available. Which means the share permission will be5( i.e, READ | CREATE ). And due to this change, the public link UI behaves as follows:When a public link share is created for a folder with permission
Download / View / Uploadbelow are the changes observed:Related Issue
Motivation and Context
Updated the permission for the
Download / View / Uploadoption to create public link. Accordingly minor changes to update the UI.How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: