You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to make sure, you've mentioned "If you restrict public access to a certain user group"
This feature only restricts access to members, not users.
If you want to restrict backoffice users from accessing certain nodes in the backoffice then I recommend looking into the permissions each user group has :)
If you would like this as a feature then please raise a feature request instead 👍
@RyuLindow So unless you protect the API, the "Restrict public access" feature is pointless? Since anyone could just query the graphql api instead of the rest api and get the results out
The public access feature is only for members and Content Delivery API.
The best use case for it would be an intranet where different members have access to different content pages etc.
Since anyone could just query the graphql api instead of the rest api and get the results out
I'm not sure how that would be possible without knowing the necessary headers and names of the content properties 🤔
Just to clarify the public access feature is only for members and for requesting content using member auth.
Issue description
If you restrict public access to a certain user group, then GraphQL still returns the result regardless of you providing "Authorization" header.
This seems to be a huge security loophole?
An example of this can be seen here:
Trying to access same resource from the REST api correctly gives me a permission denied unless a bearer token is provided:

The text was updated successfully, but these errors were encountered: