Skip to content

Article galleys can be downloaded before the article is published if you know the URL #3977

Description

@mauromsl

Describe the bug
The /article/id/{id}/download/{pdf/xml} URLs are currently allowing unauthenticated users to download a galley even before the article is published

Janeway version
v1.5.1

Expected behavior
Articles that are not yet published should return a 404 on those URLs

Metadata

Metadata

Assignees

Labels

Size XSExtra smallbugSomething's not working

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions