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
Unpublished content is accessible to unauthenticated users via the front-end API.
curl -X GET "http://localhost/api/contents?status=draft" -H "accept: application/ld+json"
A user might have a draft news release, product launch, embargoed product review, etc they might not want a crafty user accessing before it's public.
In your console, enter curl -X GET "http://localhost/api/contents?status=draft" -H "accept: application/ld+json"
(I assume the same is with the GraphQL endpoints)
Only content with a published status is accessible with or without a status parameter when accessing the API as an unauthenticated user.
published
status
Unpublished content can be accessed by unauthenticated users via the API.
The text was updated successfully, but these errors were encountered:
@technicallyerik thanks for the detailed issue.
A fix for this is in the pipeline. I think we'll sneak in your other PR #1296 before launch too.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Unpublished content is accessible to unauthenticated users via the front-end API.
curl -X GET "http://localhost/api/contents?status=draft" -H "accept: application/ld+json"
A user might have a draft news release, product launch, embargoed product review, etc they might not want a crafty user accessing before it's public.
Details
Reproduction
Steps to reproduce
In your console, enter
curl -X GET "http://localhost/api/contents?status=draft" -H "accept: application/ld+json"
(I assume the same is with the GraphQL endpoints)
Expected result
Only content with a
published
status is accessible with or without astatus
parameter when accessing the API as an unauthenticated user.Actual result
Unpublished content can be accessed by unauthenticated users via the API.
The text was updated successfully, but these errors were encountered: