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

Unpublished content is accessible in front-end #813

Open
perrydrums opened this issue Oct 24, 2024 · 0 comments
Open

Unpublished content is accessible in front-end #813

perrydrums opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working triage A new issue that needs triage

Comments

@perrydrums
Copy link

Package containing the bug

I’m not sure

Describe the bug

After following the guides on https://next-drupal.org/learn/preview-mode, I can access all content regardless if they are published or not. This has to do with the Bypass Access Control permission, but this has to be added according to the guide. I expect to only be able to visit those pages when on preview mode. (I tried incognito mode and made sure preview mode was turned off)

Expected behavior

Visiting unpublished content /blog/test-article results in a 404, except when in preview mode.

Am I doing something wrong?

Is there something I don't understand here? I followed the guide and installed the GraphQL starter projects.

@perrydrums perrydrums added bug Something isn't working triage A new issue that needs triage labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage A new issue that needs triage
Projects
None yet
Development

No branches or pull requests

1 participant