How to Securely Fetch Unpublished CraftCMS Entries with a Custom API Header
CraftCMS provides a robust GraphQL API for querying your content, but sometimes you need to tailor the API for different user roles. For example, you might want admins to fetch all entries (including unpublished ones) while the public can only see pu...
blog.konoson.com4 min read