-
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
Hide add to your OC at the public page when sending shares is not all… #37232
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. |
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.
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 :( |
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.
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 servers
is 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 servers
open 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 servers
open the public link in another browser
Expected: There is NO 'Add to your ownCloud' at the public page
Types of changes
Checklist: