Skip to content

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

Merged
arijitAD merged 2 commits intorelease/v20.07from
arijitAD/20.07_auth_dgraph_pred
Jul 9, 2020
Merged

fix(GraphQL): Apply auth rules on type having @dgraph directive (#5702)#5863
arijitAD merged 2 commits intorelease/v20.07from
arijitAD/20.07_auth_dgraph_pred

Conversation

@arijitAD
Copy link
Copy Markdown

@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