-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Server: Remote relationships permissions #6125
Closed
codingkarthik
wants to merge
123
commits into
hasura:master
from
codingkarthik:remote-relationships-permissions
Closed
Server: Remote relationships permissions #6125
codingkarthik
wants to merge
123
commits into
hasura:master
from
codingkarthik:remote-relationships-permissions
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- when remote schema permissions are enabled
✔️ Deploy preview for hasura-docs ready! 🔨 Explore the source changes: 7850c48 🔍 Inspect the deploy logs: https://app.netlify.com/sites/hasura-docs/deploys/5fe1b200c015d300070ae44d 😎 Browse the preview: https://deploy-preview-6125--hasura-docs.netlify.app |
codingkarthik
force-pushed
the
remote-relationships-permissions
branch
from
November 5, 2020 03:47
d21de7e
to
a25bafa
Compare
30 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR implements the feature of remote relationship permissions. The permissions of a remote relationship is derived from the remote permissions configured of the said role.
This is an incremental PR on top of #6079 and should only be merged after #6079 is merged.
This PR also implements deep parsing of a remote relationship query.
Changelog
CHANGELOG.md
is updated with user-facing content relevant to this PR. If no changelog is required, then add theno-changelog-required
label.Affected components
Related Issues
This PR is on top of #6079
Solution and Design
Steps to test and verify
Limitations, known bugs & workarounds
Server checklist
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
Does this PR add a new Metadata feature?
run_sql
auto manages the new metadata through schema diffing?run_sql
auto manages the definitions of metadata on renaming?export_metadata
/replace_metadata
supports the new metadata added?GraphQL
Breaking changes
Remote relationship permissions will work only if remote schema permissions are enabled in the graphql-engine.
Metadata API
Existing
query
types:args
payload which is not backward compatibleJSON
schemaGraphQL API
Schema Generation:
NamedType
Schema Resolve:-
null
value for any input fieldsLogging
JSON
schema has changedtype
names have changed