-
Notifications
You must be signed in to change notification settings - Fork 445
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
Possible to access unpublished articles when not logged in #5563
Comments
It looks like this went wrong with an attempt to implement a preview feature. Rather than sort out the access control issues at this late stage, I've removed the preview button and blocked all access to unpublished articles on the frontend. I checked OMP. There was no preview feature and no access to unpublished articles. PRs: |
Thanks, @NateWr -- merged and cherry-picked to OPS. |
@NateWr If the article is in the unpublished state after being published, it still can be viewed without authorization in 3.2.0-3. |
Can you describe what you mean by "if the article is in the unpublished state after being published"? If it is published it should have |
Article that was once published but then unpublished by pressing unpublish button. |
Submission:
Publication:
Or it should to be this way? |
Ahh, by ID I see that the 4th version is unpublished which means that 3rd should be shown instead (publication with id 173), right? |
(a bit confusing to me but looks like it works as it should, false alarm) |
👍 Yeah you can unpublish a previously published version. But if another published version exists, the submission should remain available. |
Describe the bug
It is possible to access unpublished articles when not logged in or to access unpublished articles which you are not assigned to.
The text was updated successfully, but these errors were encountered: