Comments (1)
@tomhermans Whenever the site receives a request for entries, a permissions check is performed to have sure there is a currently logged-in user who has the gravityforms_view_entries
capability. If there isn't, then that error message is returned.
For testing, you can activate https://github.com/wp-graphql/wp-graphiql, then log into WP as a user who has the gravityforms_view_entries
capability. Then any requests you fire off from the GraphiQL instance embedded in the WP admin will include your auth cookie, and you'll be able to run queries for Gravity Forms entries.
If you have a client-side app and want to be able to query for entries from there, then you'll need to set up authentication. This plugin works great if you want to use JSON web tokens for auth: https://github.com/wp-graphql/wp-graphql-jwt-authentication
Best of luck! 👍
from wp-graphql-gravity-forms.
Related Issues (20)
- Allow ID inputs to take _either_ a database or global ID
- FormsConnectionOrderbyInput should be an enum type
- Bump minimum WPGraphQL version to v1.9.0 for Connection Resolvers
- Address Field Enum for State / Province when `addressType` is US or Canada respectively HOT 3
- Major bugs with Consent Field (Required not working and consentValue invalid) HOT 4
- No Proper error messages on the last page HOT 1
- Unclear Documentation : List fields HOT 2
- Breaks with WPGraphQL v1.13+ HOT 2
- GF 2.6.8 breaks multifile upload support.
- [Feature Request] Support GF reCAPTCHA v3 add-on HOT 3
- IP is replaced with sourceUrl in entryMeta when submitting entry HOT 1
- Single file upload FAILED (Temporary file could not be copied.) HOT 4
- Docs: Add `productValues` usage docs
- Enum names break schema in some languages HOT 27
- Issue updating plugin from Wordpress's Plugin interface HOT 3
- defaultValue for Email field doesn't work HOT 7
- Filtering Query by pageNumber HOT 3
- How can i show form entries to non-auth users? HOT 1
- Support for Polls Add-On HOT 1
- Cannot query field "isHidden" on type "GfFieldInput". Did you mean to use an inline fragment on "GfFieldInputWithAddressSetting"... HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-graphql-gravity-forms.