We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Commit 221f92c a hook is created that bypasses the permission checks for documents in Wagtail.
Steps to reproduce the behavior:
The document shouldn't be accessible for an anonymous user.
The serve view from wagtail returns the result of the first hook that returns a HttpResponse.
An easy fix would be to register serve_document_directly with an order greater than 0.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
I'm wondering if our hook is even still needed, since it was made for such an old version of wagtail long ago?
I'd prefer to remove it if possible. Or, if you have an idea for a fix, feel free to create a pull request and I will help merge it in.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In Commit 221f92c a hook is created that bypasses the permission checks for documents in Wagtail.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The document shouldn't be accessible for an anonymous user.
Additional context
The serve view from wagtail returns the result of the first hook that returns a HttpResponse.
An easy fix would be to register serve_document_directly with an order greater than 0.
The text was updated successfully, but these errors were encountered: