Restrict private data to the owner user only #82
Unanswered
nassim-kachroud
asked this question in
Q&A
Replies: 1 comment 19 replies
-
It's a business logic so you need to write your own resolvers which will translate |
Beta Was this translation helpful? Give feedback.
19 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys!
First, thanks a lot for the efforts in it, it works like a charm!
I'm currently working on a e-commerce GraphQL API and I would like the best solution to protect fetching private data owned by the logged in user.
I used a auth-checker to make sure that a user is logged in but for example, how can I make sure that users can fetch only orders, coupons... they own?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions