Open MedNabilEssefaihi opened 3 years ago
Use MeQuery - I have removed UserQuery, quite dangerous to leave it in there. If you want to add a user specific mutation/query you can use the verification_required. No docs on it but it extends this https://django-graphql-jwt.domake.io/decorators.html#login-required
Hi community,
I want to know how can add permission to the QUERY class, to give the possibility the user to get only his data and no more ?
I want to block this query per example to normal users
⚠️ they don't have to see other users data