[10.2.0] Backport of The public link edit template was outside public upload check#35238
Conversation
… upload check The public link edit template was outside public upload check. And hence for creating the public link for files the full permission option was shown. This change tries to address the issue. Signed-off-by: Sujith H <sharidasan@owncloud.com>
39d4749 to
4cbc7f4
Compare
|
Original PR #35226 |
Codecov Report
@@ Coverage Diff @@
## release-10.2.0 #35238 +/- ##
====================================================
+ Coverage 64.39% 64.39% +<.01%
Complexity 20051 20051
====================================================
Files 1285 1285
Lines 76846 76846
Branches 1308 1308
====================================================
+ Hits 49484 49485 +1
+ Misses 26978 26977 -1
Partials 384 384
Continue to review full report at Codecov.
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## release-10.2.0 #35238 +/- ##
====================================================
+ Coverage 64.39% 64.39% +<.01%
Complexity 20051 20051
====================================================
Files 1285 1285
Lines 76846 76846
Branches 1308 1308
====================================================
+ Hits 49484 49485 +1
+ Misses 26978 26977 -1
Partials 384 384
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## release-10.2.0 #35238 +/- ##
====================================================
+ Coverage 64.39% 64.39% +<.01%
Complexity 20051 20051
====================================================
Files 1285 1285
Lines 76846 76846
Branches 1308 1308
====================================================
+ Hits 49484 49485 +1
+ Misses 26978 26977 -1
Partials 384 384
Continue to review full report at Codecov.
|
The public link edit template was outside public upload check.
And hence for creating the public link for files the full
permission option was shown. This change tries to address
the issue.
Signed-off-by: Sujith H sharidasan@owncloud.com
Description
The
Download / View / Editoption was outside the check for variablepublicUploadPossiblein the template. And this caused the issue for files. When user tries to create the public links for files theDownload / View / Editoption is visible. But when user clicks it only view permission is available for the public link created. So in this change set theDownload / View / Editoption is added inside thepublicUploadPossiblecheck and hence the consistency is brought back for creating public links for files.Related Issue
Motivation and Context
The
Download / View / Editoption was moved out of thepublicUploadPossiblecheck in the template. Hence there caused inconistency when the public links for files created.How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: