hygraph / gatsby-source-graphcms

The official Gatsby source plugin for GraphCMS projects
https://graphcms.com
MIT License
145 stars 41 forks source link

Make a note on Granular Permissions usage #221

Open notrab opened 2 years ago

notrab commented 2 years ago

If no token is provided, and permissions are added, Gatsby will fail to fetch content for the schema it has access to.

GraphCMS doesn't remove anything from introspection that you don't have access to, so Gatsby is just doing what it thinks it can with regards to the schema.

We should add a note that Gatsby needs a token with all permissions enabled to work properly.