-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
graphql: add GraphQL authorisation #5179
Merged
Merged
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
golangcibot
reviewed
Apr 13, 2020
@@ -39,6 +39,7 @@ const ( | |||
dgraphPredArg = "pred" | |||
idDirective = "id" | |||
secretDirective = "secret" | |||
authDirective = "auth" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
authDirective
is unused (from varcheck
)
MichaelJCompton
added
the
area/graphql
Issues related to GraphQL support on Dgraph.
label
Apr 17, 2020
* RBAC rules parsing.
* Added test cases for auth schema parsing. * Added valid schema test. * Remove position from error.
* Parse auth meta info from schema.
* Add support for RSA algo in JWT signing.
MichaelJCompton
changed the title
[WIP] Add GraphQL Authorisation
graphql: add GraphQL authorisation
May 5, 2020
dna2github
pushed a commit
to dna2fork/dgraph
that referenced
this pull request
Jul 18, 2020
* add Auth directive (hypermodeinc#5178) * parse auth rules (hypermodeinc#5180) * added query rewriting and e2e tests (hypermodeinc#5229) * parse and evaluate RBAC rules. (hypermodeinc#5210) * added test cases for auth schema parsing. (hypermodeinc#5195) * process auth query rules (hypermodeinc#5181) * send auth variable in custom jwt token. (hypermodeinc#5220) * auth on get and mutation results (hypermodeinc#5259) * delete authorization (hypermodeinc#5270) * parse auth meta info from schema. (hypermodeinc#5269) * auth on add update mutations (hypermodeinc#5300) * query e2e tests for authentication (hypermodeinc#5312) * more testing around additional deletes and auth (hypermodeinc#5357) * add RSA algo for JWT token verification. (hypermodeinc#5358)
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.
Adds automated authorisation to our GraphQL endpoint.
This change is
Docs Preview: