-
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
Add authn for graphql and http admin endpoints #5162
Merged
Merged
Changes from 19 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
91fc1ca
add auth for admin endpoints
abhimanyusinghgaur c78becc
add poor man's auth
abhimanyusinghgaur 563ecde
add tests
abhimanyusinghgaur 1dc12d1
update auth for /alter and /admin/schema
abhimanyusinghgaur 7006028
remove whitelisting check for /alter
abhimanyusinghgaur 603fd25
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 5629249
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur deeb2bb
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 08772df
add middlewares
abhimanyusinghgaur 4009e29
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 9ea03fd
fix test
abhimanyusinghgaur 262b944
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 9af6def
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 1b64682
incomplete changes
abhimanyusinghgaur 46330f9
final changes
abhimanyusinghgaur 3497cbb
add test
abhimanyusinghgaur fa2b651
fix tests
abhimanyusinghgaur 1a471ba
add more tests
abhimanyusinghgaur 0b92b7f
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 076e68b
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 636999f
manage middlewares as configuration
abhimanyusinghgaur 0d75284
route admin http requests through graphql admin server
abhimanyusinghgaur 75a4d8b
add test
abhimanyusinghgaur b6e6863
restructure tests
abhimanyusinghgaur 4f513fb
final touches
abhimanyusinghgaur ed81244
fix tests
abhimanyusinghgaur 1d80239
fix test
abhimanyusinghgaur 3677c15
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur aa4e3cc
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur 8fe2324
Merge branch 'master' of github.com:dgraph-io/dgraph into abhimanyu/a…
abhimanyusinghgaur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
change the type for allowedMethods to a alias type