-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[BREAKING] feat(Enterprise): GraphQL schema get/update, Dgraph schema query/alter and /login are now admin operations #5786
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
Conversation
…p-whitelisting # Conflicts: # graphql/admin/admin.go
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.
On second thoughts, schema{} query should not have IP whitelisting. Otherwise play.dgraph.io aslo won't be able to work. Users should be able to see dgraphs schema but not update it if their IP is not whitelisted.
We'll need to check that docs and getGQLSchema/updateGQLSchema operations at graphql.dgraph.io work after this change.
Reviewed 16 of 16 files at r1.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @manishrjain, @MichaelJCompton, and @vvbalaji-dgraph)
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.
Removed IP whitelisting and Poorman's auth for schema query.
Reviewable status: 15 of 16 files reviewed, all discussions resolved (waiting on @manishrjain, @MichaelJCompton, @pawanrawal, and @vvbalaji-dgraph)
…r and /login are now admin operations (#5786) Fixes #GRAPHQL-494. Please refer this discuss post: https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786 (cherry picked from commit 30fb625) # Conflicts: # dgraph/cmd/alpha/mutations_mode/docker-compose.yml # systest/bgindex/docker-compose.yml
…r and /login are now admin operations (#5786) (#5833) * feat(Enterprise): GraphQL schema get/update, Dgraph schema query/alter and /login are now admin operations (#5786) Fixes #GRAPHQL-494. Please refer this discuss post: https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786 (cherry picked from commit 30fb625) # Conflicts: # dgraph/cmd/alpha/mutations_mode/docker-compose.yml # systest/bgindex/docker-compose.yml
…r and /login are now admin operations (#5786) Fixes #GRAPHQL-494. Please refer this discuss post: https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786
`/alter` now has IP whitelisting with this PR: hypermodeinc/dgraph#5786. So, need to update tour for the same.
…r and /login are now admin operations (hypermodeinc#5786) Fixes #GRAPHQL-494. Please refer this discuss post: https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786
Fixes #GRAPHQL-494.
Please refer this discuss post: https://discuss.dgraph.io/t/authentication-for-admin-endpoints/6786
Breaking change: Whitelist IPs set via the
--whitelistflag now apply to schema Alter commands.This change is
Docs Preview: