Replies: 1 comment
-
I believe graphql directives should provide the solution you're looking for in terms of restricting on query results. The decorators are generally targeted at the endpoint. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just looking at the permissions to see what we can and cannot do
Is there a way to restrict the fields in query results based on users permission?
There are two decorators in the auth folder
@login_required()
and@permission_required
but I have not used themBeta Was this translation helpful? Give feedback.
All reactions