Hide add to your OC at the public page when sending shares is not all…#37232
Hide add to your OC at the public page when sending shares is not all…#37232phil-davis merged 3 commits intomasterfrom
Conversation
39fae09 to
d74739d
Compare
Codecov Report
@@ Coverage Diff @@
## master #37232 +/- ##
============================================
+ Coverage 64.51% 64.52% +0.01%
Complexity 19155 19155
============================================
Files 1267 1266 -1
Lines 74911 74912 +1
Branches 1331 1331
============================================
+ Hits 48329 48340 +11
+ Misses 26190 26180 -10
Partials 392 392
Continue to review full report at Codecov.
|
|
I created issue #37264 to create some acceptance tests for this button existing or not. |
phil-davis
left a comment
There was a problem hiding this comment.
LGTM and works - from a QA/testing POV the acceptance tests demostrate that.
Someone else can approve the detail of the code changes.
|
@VicDeo there were acceptance tests here, and now they have disappeared. |
|
@phil-davis oops...I didn't pull before rebasing :( |
phil-davis
left a comment
There was a problem hiding this comment.
All the code is there now.
|
can't merge - codecov stalled :( |
|
|
…owed by admin
Description
When
Allow users on this server to send shares to other serversis unchecked at the Settings->Admin-Sharing there should be no 'Add to your ownCloud' buttonBonus: switch to EventDispatcher as #31944 allows it
Related Issue
How Has This Been Tested?
Create a public link
Tick Settings->Admin-Sharing
Allow users on this server to send shares to other serversopen the public link in another browser
Expected: 'Add to your ownCloud' at the public page
Create a public link
Untick Settings->Admin-Sharing
Allow users on this server to send shares to other serversopen the public link in another browser
Expected: There is NO 'Add to your ownCloud' at the public page
Types of changes
Checklist: