Skip to content
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

Respect disabled sharing API settings #19262

Merged
merged 1 commit into from
Sep 22, 2015
Merged

Respect disabled sharing API settings #19262

merged 1 commit into from
Sep 22, 2015

Conversation

rullzer
Copy link
Contributor

@rullzer rullzer commented Sep 22, 2015

Respect the disabling for the sharing API for link shares.

Fixes #18970

Simple fix. And easy to test.

CC: @PVince81 @davitol @MorrisJobke @Xenopathic

@PVince81
Copy link
Contributor

Thanks 👍

@RobinMcCorkell
Copy link
Member

👍

If the sharing API setting is disabled that sharing check middle ware
should block the request. Thus making link shares unavailable.
Fixes #18970

* Unit test added
* Unit tests updated
rullzer added a commit that referenced this pull request Sep 22, 2015
Respect disabled sharing API settings
@rullzer rullzer merged commit 9fd50c0 into master Sep 22, 2015
@rullzer rullzer deleted the fix_18970 branch September 22, 2015 13:29
@lock lock bot locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabling "Allow apps to use the Share API" option, the files shared by link are available
4 participants