Skip to content
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

fix(GraphQL): Apply auth rules on type having @dgraph directive (#5702) #5863

Merged
merged 2 commits into from
Jul 9, 2020

Conversation

arijitAD
Copy link

@arijitAD arijitAD commented Jul 7, 2020

Auth rules were not applied on type having @dgraph directive because they were stored in authRules map corresponding to Graphql type name and was fetched with Dgraph type name when rewriting the query.

(cherry picked from commit 8562311)


This change is Reviewable

Docs Preview: Dgraph Preview

Auth rules were not applied on type having @dgraph directive because they were stored in authRules map corresponding to Graphql type name and was fetched with Dgraph type name when rewriting the query.

(cherry picked from commit 8562311)
@github-actions github-actions bot added the area/graphql Issues related to GraphQL support on Dgraph. label Jul 7, 2020
@arijitAD arijitAD merged commit 5ee54db into release/v20.07 Jul 9, 2020
@arijitAD arijitAD deleted the arijitAD/20.07_auth_dgraph_pred branch July 9, 2020 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph.
Development

Successfully merging this pull request may close these issues.

1 participant