-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
only partial schema is visible when backend only perm is true #5059
Comments
okay it seems when I set I would have assumed all permissions (for the given role) would be available to the trusted backend rather than just those that have explicitly been set to Is this a bug? Expected? IMO when setting EDIT: This explains why the schema introspection is broken. |
We are not treating the absence of |
This has been happening to me as well, happily I found this, I thought it was happening only on my side. |
@husniadil in the interim I've just been user an extra |
UP this as I have the same problem on v1.3.3 On the console, when I switch to the Relay API, the introspection works. On the regular GraphQL endpoint I get the |
On 10/20/2020 @tirumaraiselvan wrote on #6035 that this was a dupe and fixed in master. Is that correct? Edit: This appears to be fixed in 2.0.2 |
I'm pretty sure this has been fixed, so going to close the issue. |
It appears having nested object relationships that have backend only insert permissions breaks schema introspection when the parent object has insert permissions without the backend only flag set. (For the same role)
Error produced when:
Parent Table Insert:
backend-only
=false
Child Table Insert:
backend-only
=true
No error is produced when both the parent and child insert permissions have the same value for
backend-only
.The server outputs this error:
Server Version: 1.2.2
CLI Version 1.2.2
Metadata Version: 2
The text was updated successfully, but these errors were encountered: